diff --git a/config/schema/facets.facet.schema.yml b/config/schema/facets.facet.schema.yml index b4928e2..4746b26 100644 --- a/config/schema/facets.facet.schema.yml +++ b/config/schema/facets.facet.schema.yml @@ -52,4 +52,4 @@ facets.facet.*: type: integer label: 'The processor''s weight for this stage' settings: - type: facets.processor.plugin.[%parent.processor_id] + type: plugin.plugin_configuration.facetapi_processor.[%parent.processor_id] diff --git a/config/schema/facets.processor.schema.yml b/config/schema/facets.processor.schema.yml index 2786513..cc5c7e7 100644 --- a/config/schema/facets.processor.schema.yml +++ b/config/schema/facets.processor.schema.yml @@ -1,4 +1,4 @@ -facets.processor.plugin.count_widget_order: +plugin.plugin_configuration.facets_processor.count_widget_widget_order: type: mapping label: 'Count widget order' mapping: @@ -6,7 +6,7 @@ facets.processor.plugin.count_widget_order: type: string label: sort order -facets.processor.plugin.display_value_widget_order: +plugin.plugin_configuration.facets_processor.display_value_widget_order: type: mapping label: 'Display value widget order' mapping: @@ -14,7 +14,7 @@ facets.processor.plugin.display_value_widget_order: type: string label: sort order -facets.processor.plugin.raw_value_widget_order: +plugin.plugin_configuration.facets_processor.raw_value_widget_order: type: mapping label: 'Raw value widget order' mapping: @@ -22,7 +22,7 @@ facets.processor.plugin.raw_value_widget_order: type: string label: sort order -facets.processor.plugin.active_widget_order: +plugin.plugin_configuration.facets_processor.active_widget_order: type: mapping label: 'Active widget order' mapping: @@ -30,7 +30,7 @@ facets.processor.plugin.active_widget_order: type: string label: sort order -facets.processor.plugin.count_limit: +plugin.plugin_configuration.facets_processor.count_limit: type: mapping label: 'Count limit widget' mapping: diff --git a/facets.plugin_type.yml b/facets.plugin_type.yml new file mode 100644 index 0000000..1fd9cbf --- /dev/null +++ b/facets.plugin_type.yml @@ -0,0 +1,19 @@ +facets_processor: + label: Facets processor + plugin_manager_service_id: plugin.manager.facets.processor + plugin_definition_decorator_class: \Drupal\plugin\PluginDefinition\ArrayPluginDefinitionDecorator + +facets_facet_source: + label: Facets source + plugin_manager_service_id: plugin.manager.facets.facet_source + plugin_definition_decorator_class: \Drupal\plugin\PluginDefinition\ArrayPluginDefinitionDecorator + +facets_widget: + label: Facets widget + plugin_manager_service_id: plugin.manager.facets.widget + plugin_definition_decorator_class: \Drupal\plugin\PluginDefinition\ArrayPluginDefinitionDecorator + +facets_query_type: + label: Facets query type + plugin_manager_service_id: plugin.manager.facets.query_type + plugin_definition_decorator_class: \Drupal\plugin\PluginDefinition\ArrayPluginDefinitionDecorator