function module_handler_test_all1_module_implements_alter

Implements hook_module_implements_alter().

File

core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module, line 20

Code

function module_handler_test_all1_module_implements_alter(&$implementations, $hook) : void {
  if ($hook === 'order1') {
    // Run module_handler_test_all1 hooks after all other implementations.
    $group = $implementations['module_handler_test_all1'];
    unset($implementations['module_handler_test_all1']);
    $implementations['module_handler_test_all1'] = $group;
  }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.