testing_hooks.profile
File
-
core/
profiles/ tests/ testing_hooks/ testing_hooks.profile
View source
<?php
/**
* @file
* Implement hooks.
*/
declare (strict_types=1);
/**
* This implements cache_flush.
*
* We do not have implements so this does not get converted.
*/
function testing_hooks_cache_flush() : void {
// Set a global value we can check in test code.
$GLOBALS['profile_procedural'] = 'profile_procedural';
}
Functions
Title | Deprecated | Summary |
---|---|---|
testing_hooks_cache_flush | This implements cache_flush. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.