class UpdateModuleHandler

Deals with module enables and throws exception if hooks fired during updates.

This is necessary for a reliable and testable update environment.

Hierarchy

Expanded class hierarchy of UpdateModuleHandler

File

drupal/core/lib/Drupal/Core/Extension/UpdateModuleHandler.php, line 18
Contains \Drupal\Core\Extension\UpdateModuleHandler.

Namespace

Drupal\Core\Extension
View source

Members

Namesort descending Modifiers Type Description Overrides
ModuleHandler::$alterFunctions protected property List of alter hook implementations keyed by hook name(s).
ModuleHandler::$bootstrapModules protected property List of enabled bootstrap modules.
ModuleHandler::$hookInfo protected property Information returned by hook_hook_info() implementations.
ModuleHandler::$implementations protected property List of hook implementations keyed by hook name.
ModuleHandler::$loaded protected property Boolean indicating whether modules have been loaded.
ModuleHandler::$loadedFiles protected property List of loaded files.
ModuleHandler::$moduleList protected property List of enabled modules.
ModuleHandler::alter public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::alter(). Overrides ModuleHandlerInterface::alter
ModuleHandler::buildModuleDependencies public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::buildModuleDependencies(). Overrides ModuleHandlerInterface::buildModuleDependencies
ModuleHandler::getBootstrapModules public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::getBootstrapModules(). Overrides ModuleHandlerInterface::getBootstrapModules 1
ModuleHandler::getHookInfo public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::getHookInfo(). Overrides ModuleHandlerInterface::getHookInfo 1
ModuleHandler::getImplementationInfo protected function Provides information about modules' implementations of a hook. 1
ModuleHandler::getModuleList public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::getModuleList(). Overrides ModuleHandlerInterface::getModuleList
ModuleHandler::implementsHook public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::implementsHook(). Overrides ModuleHandlerInterface::implementsHook
ModuleHandler::invoke public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::invoke(). Overrides ModuleHandlerInterface::invoke
ModuleHandler::invokeAll public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::invokeAll(). Overrides ModuleHandlerInterface::invokeAll
ModuleHandler::isLoaded public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::isLoaded(). Overrides ModuleHandlerInterface::isLoaded
ModuleHandler::load public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::load(). Overrides ModuleHandlerInterface::load
ModuleHandler::loadAll public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::loadAll(). Overrides ModuleHandlerInterface::loadAll
ModuleHandler::loadAllIncludes public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::loadAllIncludes(). Overrides ModuleHandlerInterface::loadAllIncludes
ModuleHandler::loadBootstrapModules public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::loadBootstrapModules(). Overrides ModuleHandlerInterface::loadBootstrapModules
ModuleHandler::loadInclude public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::loadInclude(). Overrides ModuleHandlerInterface::loadInclude
ModuleHandler::moduleExists public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::moduleExists(). Overrides ModuleHandlerInterface::moduleExists
ModuleHandler::parseDependency protected function Parses a dependency for comparison by drupal_check_incompatibility().
ModuleHandler::reload public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::reload(). Overrides ModuleHandlerInterface::reload
ModuleHandler::resetImplementations public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::resetImplementations(). Overrides ModuleHandlerInterface::resetImplementations 1
ModuleHandler::setModuleList public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::setModuleList(). Overrides ModuleHandlerInterface::setModuleList
ModuleHandler::__construct public function Constructs a ModuleHandler object. 1
UpdateModuleHandler::disable public function Disables a given set of modules. Overrides ModuleHandler::disable
UpdateModuleHandler::enable public function Enables or installs a given list of modules. Overrides ModuleHandler::enable
UpdateModuleHandler::getImplementations public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::getImplementations(). Overrides ModuleHandler::getImplementations
UpdateModuleHandler::uninstall public function Uninstalls a given list of disabled modules. Overrides ModuleHandler::uninstall