function _thunder_is_enabling_module in Thunder 8.2
Same name and namespace in other branches
- 8.3 thunder.profile \_thunder_is_enabling_module()
- 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
1 call to _thunder_is_enabling_module()
- thunder_modules_installed in ./
thunder.profile - Implements hook_modules_installed().
File
- ./
thunder.profile, line 290 - Enables modules and site configuration for a thunder site installation.
Code
function _thunder_is_enabling_module() {
return !drupal_installation_attempted() && !Drupal::isConfigSyncing();
}