ccc_hook_order_test.module
File
-
core/
modules/ system/ tests/ modules/ HookOrder/ ccc_hook_order_test/ ccc_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 ccc_hook_order_test_test_hook() : string {
return __FUNCTION__;
}
/**
* Implements hook_sparse_test_hook().
*
* This implementation has no ordering modifications.
*/
function ccc_hook_order_test_sparse_test_hook() : string {
return __FUNCTION__;
}
/**
* Implements hook_procedural_alter().
*
* This implementation has no ordering modifications.
*/
function ccc_hook_order_test_procedural_alter(array &$calls) : void {
$calls[] = __FUNCTION__;
}
/**
* Implements hook_procedural_subtype_alter().
*
* This implementation has no ordering modifications.
*/
function ccc_hook_order_test_procedural_subtype_alter(array &$calls) : void {
$calls[] = __FUNCTION__;
}
/**
* Implements hook_test_procedural_reorder().
*
* This implementation is removed in
* \Drupal\aaa_hook_order_test\Hook\AHooks::testProceduralReorder().
*/
function ccc_hook_order_test_test_procedural_reorder() : string {
return __FUNCTION__;
}
Functions
| Title | Deprecated | Summary |
|---|---|---|
| ccc_hook_order_test_procedural_alter | Implements hook_procedural_alter(). | |
| ccc_hook_order_test_procedural_subtype_alter | Implements hook_procedural_subtype_alter(). | |
| ccc_hook_order_test_sparse_test_hook | Implements hook_sparse_test_hook(). | |
| ccc_hook_order_test_test_hook | Implements hook_test_hook(). | |
| ccc_hook_order_test_test_procedural_reorder | Implements hook_test_procedural_reorder(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.