src/pyams_content/features/search/portlet/interfaces.py
changeset 1121 852aa448da04
child 1188 a3765dd8cbb8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/search/portlet/interfaces.py	Tue Nov 27 08:50:02 2018 +0100
@@ -0,0 +1,26 @@
+#
+# Copyright (c) 2008-2018 Thierry Florac <tflorac AT ulthar.net>
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+
+__docformat__ = 'restructuredtext'
+
+from pyams_i18n.schema import I18nTextLineField
+from pyams_portal.interfaces import IPortletSettings
+
+from pyams_content import _
+
+
+class ISearchResultsPortletSettings(IPortletSettings):
+    """Search results portlet settings"""
+
+    title = I18nTextLineField(title=_("Title"),
+                              description=_("Portlet main title"),
+                              required=False)