function NodeThemeHooks::__construct

File

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

Class

NodeThemeHooks
Hook implementations for the node module.

Namespace

Drupal\node\Hook

Code

public function __construct(protected readonly RouteMatchInterface $routeMatch, protected readonly RendererInterface $renderer, protected readonly EntityTypeManagerInterface $entityTypeManager) {
}

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