function NodeSearchHooks::__construct

Same name and namespace in other branches
  1. 11.x core/modules/node/src/Hook/NodeSearchHooks.php \Drupal\node\Hook\NodeSearchHooks::__construct()

File

core/modules/node/src/Hook/NodeSearchHooks.php, line 22

Class

NodeSearchHooks
Search related hook implementations for node module.

Namespace

Drupal\node\Hook

Code

public function __construct(protected readonly ModuleHandlerInterface $moduleHandler, 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.