public function CoreViewsExposedFilter::__construct in Core Views Facets 8
Constructs a CoreViewsContextualFilter object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\facets\QueryType\QueryTypePluginManager $query_type_plugin_manager: The query type plugin manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
\Symfony\Component\HttpFoundation\Request $request: The master Request.
\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider.
\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.
\Drupal\views\ViewExecutableFactory $executable_factory: The view executable factory.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
\Drupal\core_views_facets\CoreViewsFacetsExposedFilterTypeManager $exposed_filter_type_plugin_manager: The filter type plugin manager.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
\Drupal\Component\Plugin\Exception\PluginNotFoundException
Overrides CoreViewsFacetSourceBase::__construct
File
- src/
Plugin/ facets/ facet_source/ CoreViewsExposedFilter.php, line 65
Class
- CoreViewsExposedFilter
- Represents a facet source of the core views with exposed filters.
Namespace
Drupal\core_views_facets\Plugin\facets\facet_sourceCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, QueryTypePluginManager $query_type_plugin_manager, EntityTypeManagerInterface $entity_type_manager, Request $request, RouteProviderInterface $route_provider, RouteMatchInterface $route_match, ViewExecutableFactory $executable_factory, EntityFieldManagerInterface $entity_field_manager, CoreViewsFacetsExposedFilterTypeManager $exposed_filter_type_plugin_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $query_type_plugin_manager, $entity_type_manager, $request, $route_provider, $route_match, $executable_factory, $entity_field_manager);
$this->exposedFilterTypePluginManager = $exposed_filter_type_plugin_manager;
}