class TestingHooksProfile

Hook implementation on behalf of another module.

Hierarchy

Expanded class hierarchy of TestingHooksProfile

File

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

Namespace

Drupal\testing_hooks\Hook
View source
class TestingHooksProfile {
    
    /**
     * Implements hook_module_preinstall().
     */
    public function flush() : void {
        // Set a global value we can check in test code.
        $GLOBALS['profile_oop'] = 'profile_oop';
    }

}

Members

Title Sort descending Modifiers Object type Summary
TestingHooksProfile::flush public function Implements hook_module_preinstall().

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