You are here

function _thunder_is_enabling_module in Thunder 8.3

Same name and namespace in other branches
  1. 8.2 thunder.profile \_thunder_is_enabling_module()
  2. 8.4 thunder.profile \_thunder_is_enabling_module()

Check if enabling of a module is executed.

This function is helper for thunder_modules_installed(). Using it in another context is not recommended.

Return value

bool Returns if enabling of a module is currently running.

See also

hook_modules_installed()

1 call to _thunder_is_enabling_module()
thunder_modules_installed in ./thunder.profile
Implements hook_modules_installed().

File

./thunder.profile, line 220
Enables modules and site configuration for a thunder site installation.

Code

function _thunder_is_enabling_module() {
  return !drupal_installation_attempted() && !Drupal::isConfigSyncing();
}