--- a/src/pyams_content/shared/logo/paragraph.py Thu Jan 17 12:41:14 2019 +0100
+++ b/src/pyams_content/shared/logo/paragraph.py Thu Jan 17 16:42:32 2019 +0100
@@ -12,11 +12,9 @@
__docformat__ = 'restructuredtext'
-from zope.interface import implementer
from zope.schema.fieldproperty import FieldProperty
from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
-from pyams_content import _
from pyams_content.component.paragraph import BaseParagraph, BaseParagraphContentChecker, BaseParagraphFactory, \
IParagraphFactory
from pyams_content.features.checker.interfaces import ERROR_VALUE, IContentChecker, MISSING_LANG_VALUE, MISSING_VALUE
@@ -26,14 +24,17 @@
from pyams_i18n.interfaces import II18n, II18nManager, INegotiator
from pyams_sequence.reference import get_reference_target
from pyams_utils.adapter import adapter_config
+from pyams_utils.factory import factory_config
from pyams_utils.registry import get_utility, utility_config
from pyams_utils.request import check_request
from pyams_utils.traversing import get_parent
from pyams_utils.vocabulary import vocabulary_config
from pyams_workflow.interfaces import IWorkflow, IWorkflowState
+from pyams_content import _
-@implementer(ILogosParagraph)
+
+@factory_config(ILogosParagraph)
class LogosParagraph(BaseParagraph):
"""Logos paragraph"""