function ContextualThemeHooks::__construct

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

File

core/modules/contextual/src/Hook/ContextualThemeHooks.php, line 14

Class

ContextualThemeHooks
Hook implementations for contextual.

Namespace

Drupal\contextual\Hook

Code

public function __construct(protected readonly AccountInterface $currentUser, protected ContextualLinksSerializer $serializer) {
}

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