public function Page::__construct in Search API Autocomplete 8
Creates a new Page instance.
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
File
- src/
Plugin/ search_api_autocomplete/ search/ Page.php, line 50
Class
- Page
- Provides autocomplete support for the search_api_page module.
Namespace
Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\searchCode
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;
}