class SkipProceduralHooks

Hook implementations for hook_collector_skip_procedural.

Hierarchy

Expanded class hierarchy of SkipProceduralHooks

File

core/modules/system/tests/modules/hook_collector_skip_procedural/src/Hook/SkipProceduralHooks.php, line 12

Namespace

Drupal\hook_collector_skip_procedural\Hook
View source
class SkipProceduralHooks {
  
  /**
   * Implements hook_cache_flush().
   */
  public function cacheFlush() : void {
    // Set a global value we can check in test code.
    hook_collector_skip_procedural_custom_function();
    $GLOBALS['skipped_procedural_oop_cache_flush'] = 'skipped_procedural_oop_cache_flush';
  }

}

Members

Title Sort descending Modifiers Object type Summary
SkipProceduralHooks::cacheFlush public function Implements hook_cache_flush().

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