Skip to content

Commit

Permalink
Merge pull request #159 from collective/issue_158
Browse files Browse the repository at this point in the history
Moved from dotted to named behaviors.
  • Loading branch information
iham committed May 7, 2019
2 parents 7b44f4a + 59152d7 commit 4074d98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
2.1.1 (unreleased)
------------------

- Nothing changed yet.
- Moved from dotted to named behaviors.
[iham]


2.1.0 (2019-04-25)
Expand Down
9 changes: 5 additions & 4 deletions src/collective/easyform/profiles/default/types/EasyForm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
<property name="model_file"></property>
<property name="klass">collective.easyform.content.EasyForm</property>
<property name="add_permission">collective.easyform.AddContent</property>

<property name="behaviors">
<element value="plone.app.content.interfaces.INameFromTitle"/>
<element value="plone.app.dexterity.behaviors.discussion.IAllowDiscussion"/>
<element value="plone.app.dexterity.behaviors.exclfromnav.IExcludeFromNavigation"/>
<element value="plone.app.dexterity.behaviors.metadata.IDublinCore"/>
<element value="plone.namefromtitle"/>
<element value="plone.allowdiscussion"/>
<element value="plone.excludefromnavigation"/>
<element value="plone.dublincore"/>
</property>

<!-- View information -->
Expand Down

0 comments on commit 4074d98

Please sign in to comment.