aaa_hook_order_test.module

Same filename and directory in other branches
  1. 11.x core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/aaa_hook_order_test.module

File

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

View source
<?php


/**
 * @file
 * Contains procedural hook implementations.
 */

declare (strict_types=1);

/**
 * Implements hook_test_hook().
 *
 * This implementation has no ordering modifications.
 */
function aaa_hook_order_test_test_hook() : string {
  return __FUNCTION__;
}

/**
 * Implements hook_sparse_test_hook().
 *
 * This implementation has no ordering modifications.
 */
function aaa_hook_order_test_sparse_test_hook() : string {
  return __FUNCTION__;
}

/**
 * Implements hook_procedural_alter().
 *
 * This implementation has no ordering modifications.
 */
function aaa_hook_order_test_procedural_alter(array &$calls) : void {
  $calls[] = __FUNCTION__;
}

/**
 * Implements hook_procedural_subtype_alter().
 *
 * This implementation has no ordering modifications.
 */
function aaa_hook_order_test_procedural_subtype_alter(array &$calls) : void {
  $calls[] = __FUNCTION__;
}

Functions

Title Deprecated Summary
aaa_hook_order_test_procedural_alter Implements hook_procedural_alter().
aaa_hook_order_test_procedural_subtype_alter Implements hook_procedural_subtype_alter().
aaa_hook_order_test_sparse_test_hook Implements hook_sparse_test_hook().
aaa_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.