function DependsOnModuleMethodHooks::withDependency
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/hook_collector_depends_test/src/Hook/DependsOnModuleMethodHooks.php \Drupal\hook_collector_depends_test\Hook\DependsOnModuleMethodHooks::withDependency()
Implements hook_with_dependency().
Attributes
File
-
core/
modules/ system/ tests/ modules/ hook_collector_depends_test/ src/ Hook/ DependsOnModuleMethodHooks.php, line 18
Class
- DependsOnModuleMethodHooks
- Test Hooks with a dependency on the sole method.
Namespace
Drupal\hook_collector_depends_test\HookCode
public function withDependency() : string {
return __METHOD__;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.