bbb_hook_order_test.module

File

core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/bbb_hook_order_test.module

View source
<?php


/**
 * @file
 * Contains procedural hook implementations.
 */
declare (strict_types=1);

/**
 * Implements hook_test_hook().
 */
function bbb_hook_order_test_test_hook() : string {
    return __FUNCTION__;
}

/**
 * Implements hook_procedural_alter().
 */
function bbb_hook_order_test_procedural_alter(array &$calls) : void {
    $calls[] = __FUNCTION__;
}

/**
 * Implements hook_procedural_subtype_alter().
 */
function bbb_hook_order_test_procedural_subtype_alter(array &$calls) : void {
    $calls[] = __FUNCTION__;
}

Functions

Title Deprecated Summary
bbb_hook_order_test_procedural_alter Implements hook_procedural_alter().
bbb_hook_order_test_procedural_subtype_alter Implements hook_procedural_subtype_alter().
bbb_hook_order_test_test_hook Implements hook_test_hook().

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