--- a/src/pyams_content/shared/common/__init__.py Tue Jul 17 15:01:50 2018 +0200
+++ b/src/pyams_content/shared/common/__init__.py Tue Jul 17 17:59:30 2018 +0200
@@ -22,7 +22,7 @@
from pyams_content.features.checker.interfaces import IContentChecker, MISSING_VALUE, MISSING_LANG_VALUE, ERROR_VALUE
from pyams_content.features.review.interfaces import IReviewComments
from pyams_content.shared.common.interfaces import IWfSharedContent, IWfSharedContentRoles, ISharedContent, \
- IBaseSharedTool, ISharedSite, IWfSharedContentFactory
+ IBaseSharedTool, ISharedSite, IWfSharedContentFactory, CONTENT_TYPES_VOCABULARY
from pyams_i18n.interfaces import II18nManager, II18n
from pyams_portal.interfaces import DESIGNER_ROLE
from pyams_security.interfaces import IDefaultProtectionPolicy
@@ -94,7 +94,7 @@
del CONTENT_TYPES[key]
-@vocabulary_config(name='PyAMS content types')
+@vocabulary_config(name=CONTENT_TYPES_VOCABULARY)
class ContentTypesVocabulary(SimpleVocabulary):
"""Content types vocabulary"""
--- a/src/pyams_content/shared/common/interfaces/__init__.py Tue Jul 17 15:01:50 2018 +0200
+++ b/src/pyams_content/shared/common/interfaces/__init__.py Tue Jul 17 17:59:30 2018 +0200
@@ -225,6 +225,9 @@
"""Workflow managed shared content factory interface"""
+CONTENT_TYPES_VOCABULARY = 'PyAMS content types'
+
+
#
# Generic restrictions interfaces
#