function NodeThemeHooks::__construct

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

File

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

Class

NodeThemeHooks
Theme 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, protected readonly ThemeSettingsProvider $themeSettingsProvider) {
}

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