Skip to content

Commit

Permalink
Upgrade step: add plone.shortname behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
gotcha committed Mar 19, 2024
1 parent 9caa219 commit 84dd850
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/collective/easyform/upgrades/1017.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
>

<gs:upgradeDepends
title="Add max filesize in registry"
title="Add max filesize in registry and plone.shortname behavior to form."
import_profile="collective.easyform.upgrades:1017"
/>

Expand Down
10 changes: 10 additions & 0 deletions src/collective/easyform/upgrades/profiles/1017/types/EasyForm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
meta_type="Dexterity FTI"
name="EasyForm"
i18n:domain="collective.easyform"
>
<property name="behaviors" purge="False">
<element value="plone.shortname" />
</property>
</object>

0 comments on commit 84dd850

Please sign in to comment.