class TestHookLast

Same name in this branch
  1. 11.x core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookLast.php \Drupal\bbb_hook_collector_test\Hook\TestHookLast

This class contains hook implementations.

By default, these will be called in module order, which is predictable due to the alphabetical module names. Some of the implementations are reordered using order attributes.

Hierarchy

Expanded class hierarchy of TestHookLast

File

core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookLast.php, line 17

Namespace

Drupal\aaa_hook_collector_test\Hook
View source
class TestHookLast {
    
    /**
     * This pair tests OrderLast.
     */
    public function hookLast() : string {
        // This should be run after.
        return __METHOD__;
    }

}

Members

Title Sort descending Modifiers Object type Summary
TestHookLast::hookLast public function This pair tests OrderLast.

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