function FormHooks::__construct

Same name and namespace in other branches
  1. main core/themes/admin/src/Hook/FormHooks.php \Drupal\admin\Hook\FormHooks::__construct()

Constructs the form related hooks.

File

core/themes/admin/src/Hook/FormHooks.php, line 40

Class

FormHooks
Provides form related hook implementations.

Namespace

Drupal\admin\Hook

Code

public function __construct(protected ClassResolverInterface $classResolver, protected readonly ModuleHandlerInterface $moduleHandler, protected readonly ConfigFactoryInterface $configFactory, protected readonly StateInterface $state, protected readonly MessengerInterface $messenger, protected RouteMatchInterface $routeMatch, protected AccountInterface $currentUser) {
}

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