Skip to content

Commit

Permalink
Merge pull request #27 from plone/action-edit-modal-property
Browse files Browse the repository at this point in the history
Add `modal` property to `IActionSchema`
  • Loading branch information
mauritsvanrees authored Feb 4, 2023
2 parents b2dfbcb + 6a4659b commit 9dffa6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions news/27.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Add `modal` property to `IActionSchema`.
[petschki]
7 changes: 7 additions & 0 deletions src/plone/base/interfaces/controlpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1954,6 +1954,13 @@ class IActionSchema(Interface):
required=True,
)

modal = schema.Text(
title=_("action_modal_settings", default="Settings for pat-plone-modal"),
required=False,
constraint=validate_json,
default=dump_json_to_text({}),
)


class INewActionSchema(Interface):

Expand Down

0 comments on commit 9dffa6f

Please sign in to comment.