function TestingSiteConfigHooks::userLoad
Same name and namespace in other branches
- 11.x core/profiles/tests/testing_site_config/src/Hook/TestingSiteConfigHooks.php \Drupal\testing_site_config\Hook\TestingSiteConfigHooks::userLoad()
Attributes
#[Hook('user_load')]
File
-
core/
profiles/ tests/ testing_site_config/ src/ Hook/ TestingSiteConfigHooks.php, line 32
Class
- TestingSiteConfigHooks
- Simulates a hook class with a dependency chain requiring the kernel.
Namespace
Drupal\testing_site_config\HookCode
public function userLoad() : void {
assert(isset($this->kernel));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.