You are here

public function Framework::moduleInvokeAll in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::moduleInvokeAll()
  2. 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::moduleInvokeAll()

Invokes all hooks.

Overrides FrameworkInterface::moduleInvokeAll

1 method overrides Framework::moduleInvokeAll()
Drupal8::moduleInvokeAll in api/src/Framework/Drupal8.php
Invokes all hooks.

File

api/src/Framework/Framework.php, line 219

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function moduleInvokeAll($hook) {
  $args = func_get_args();
  self::addTestFlag('moduleInvokeAll called');
  $object = $this
    ->implementor();
  return call_user_func_array([
    &$object,
    'moduleInvokeAll',
  ], $args);
}