function hook_collector_skip_procedural_attribute_cache_flush

Same name and namespace in other branches
  1. main core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.module \hook_collector_skip_procedural_attribute_cache_flush()

This implements a hook and should be picked up.

We have set procedural_hooks: scan.

File

core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.module, line 17

Code

function hook_collector_skip_procedural_attribute_cache_flush() : void {
  // Set a global value we can check in test code.
  $GLOBALS['procedural_attribute_skip_find'] = 'procedural_attribute_skip_find';
}

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