コード例 #1
0
    def get_plugin_specification(self):
        """!TXT! Return a dictionary describing this Storage"""

        options = PluginBase.get_plugin_specification(self)
        options.update({
            'storage_type': self.storage_type,
        })
        return options
コード例 #2
0
    def get_plugin_specification(self):
        """!TXT! Return a dictionary describing this Frontend"""

        options = PluginBase.get_plugin_specification(self)
        options.update({
            'frontend_type': self.frontend_type,
        })
        return options
コード例 #3
0
ファイル: field.py プロジェクト: sfluehnsdorf/MetaPublisher2
    def get_plugin_specification(self):
        """Return a dictionary describing this Field"""

        options = PluginBase.get_plugin_specification(self)
        options.update({
            'field_type': self.field_type,
            'primary_field': self.primary_field,
        })
        return options
コード例 #4
0
ファイル: widget.py プロジェクト: sfluehnsdorf/MetaPublisher2
    def get_plugin_specification(self):
        """!TXT! Return a dictionary describing this Widget"""

        options = PluginBase.get_plugin_specification(self)
        options.update({
            'widget_type': self.widget_type,
            'field_types': self.field_types,
            'frontend_type': self.frontend_type,
            'frontend_types': self.frontend_types,
        })
        return options