function ACrossHookReorderAlter::subtypeAlterLastIfBaseHook

Implements hook_test_cross_hook_reorder_subtype_alter().

Attributes

#[ReorderHook('test_cross_hook_reorder_base_alter', self::class, 'subtypeAlterLastIfBaseHook', Order::Last)] #[Hook('test_cross_hook_reorder_subtype_alter')]

File

core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/ACrossHookReorderAlter.php, line 68

Class

ACrossHookReorderAlter
Contains alter hook implementations.

Namespace

Drupal\aaa_hook_order_test\Hook

Code

public function subtypeAlterLastIfBaseHook(array &$calls) : void {
  $calls[] = __METHOD__;
}

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