You are here

public function CoreViewsFacetsFilterType::__construct in Core Views Facets 8

Constructs a CoreViewsFacetsFilterType 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\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

Overrides PluginBase::__construct

1 call to CoreViewsFacetsFilterType::__construct()
Term::__construct in src/Plugin/facets/processor/exposed_filter_type/Term.php
Constructs a CoreViewsFacetsFilterType object.
1 method overrides CoreViewsFacetsFilterType::__construct()
Term::__construct in src/Plugin/facets/processor/exposed_filter_type/Term.php
Constructs a CoreViewsFacetsFilterType object.

File

src/CoreViewsFacetsFilterType.php, line 37

Class

CoreViewsFacetsFilterType
Base class for Core views facets filter type plugins.

Namespace

Drupal\core_views_facets

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->entityTypeManager = $entity_type_manager;
}