function TestingHooksProfile::flush

Implements hook_module_preinstall().

File

core/profiles/tests/testing_hooks/src/Hook/TestingHooksProfile.php, line 17

Class

TestingHooksProfile
Hook implementation on behalf of another module.

Namespace

Drupal\testing_hooks\Hook

Code

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

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