public function Drupal8::moduleInvokeAll in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::moduleInvokeAll()
- 7.2 api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::moduleInvokeAll()
Invokes all hooks.
Overrides Framework::moduleInvokeAll
File
- api/
src/ Framework/ Drupal8.php, line 128
Class
- Drupal8
- Drupal 8-specific code.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function moduleInvokeAll($hook) {
$args = func_get_args();
$hook = array_shift($args);
// @phpstan-ignore-next-line
return \Drupal::moduleHandler()
->invokeAll($hook, $args);
}