function NodeSearchHooks::__construct
Same name in this branch
- main core/modules/node/src/Hook/NodeSearchHooks.php \Drupal\node\Hook\NodeSearchHooks::__construct()
Same name and namespace in other branches
- 11.x core/modules/node/src/Hook/NodeSearchHooks.php \Drupal\node\Hook\NodeSearchHooks::__construct()
- 11.x core/modules/search/modules/search_node/src/Hook/NodeSearchHooks.php \Drupal\search_node\Hook\NodeSearchHooks::__construct()
File
-
core/
modules/ search/ modules/ search_node/ src/ Hook/ NodeSearchHooks.php, line 21
Class
- NodeSearchHooks
- Search related hook implementations originally in the Node module.
Namespace
Drupal\search_node\HookCode
public function __construct(protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly StateInterface $state, protected readonly ?SearchIndexInterface $searchIndex = NULL) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.