function NavigationTestHooks::__construct
Same name and namespace in other branches
- 11.x core/modules/navigation/tests/navigation_test/src/Hook/NavigationTestHooks.php \Drupal\navigation_test\Hook\NavigationTestHooks::__construct()
NavigationTestHooks constructor.
Parameters
\Drupal\Core\State\StateInterface $state: The state service.
File
-
core/
modules/ navigation/ tests/ navigation_test/ src/ Hook/ NavigationTestHooks.php, line 22
Class
- NavigationTestHooks
- Hooks implementations for navigation_test module.
Namespace
Drupal\navigation_test\HookCode
public function __construct(protected StateInterface $state) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.