function NodeHelpHooks::__construct

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

File

core/modules/node/src/Hook/NodeHelpHooks.php, line 23

Class

NodeHelpHooks
Help hook implementation for node.

Namespace

Drupal\node\Hook

Code

public function __construct(protected readonly EntityDisplayRepositoryInterface $entityDisplayRepository, protected readonly NodeAccessRebuild $nodeAccessRebuild) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.