function OtherModuleUninstalledHooks::modulesUninstall

Implements hook_modules_uninstalled().

File

core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleUninstalledHooks.php, line 26

Class

OtherModuleUninstalledHooks
Hook implementations for respond_install_uninstall_hook_test.

Namespace

Drupal\respond_install_uninstall_hook_test\Hook

Code

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

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