class CachedModuleHandler

Class that manages enabled modules in a Drupal installation.

Hierarchy

Expanded class hierarchy of CachedModuleHandler

File

drupal/core/lib/Drupal/Core/Extension/CachedModuleHandler.php, line 16
Contains Drupal\Core\Extension\CachedModuleHandler.

Namespace

Drupal\Core\Extension
View source

Members

Namesort descending Modifiers Type Description Overrides
CachedModuleHandler::$bootstrapCache protected property Cache backend for storing enabled modules.
CachedModuleHandler::$cacheNeedsWriting protected property Whether the cache needs to be written.
CachedModuleHandler::$state protected property State key/value store.
CachedModuleHandler::getBootstrapModules public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::getBootstrapModules(). Overrides ModuleHandler::getBootstrapModules
CachedModuleHandler::getCachedImplementationInfo protected function Retrieves hook implementation info from the cache.
CachedModuleHandler::getHookInfo public function Overrides \Drupal\Core\Extension\ModuleHandler::getHookInfo(). Overrides ModuleHandler::getHookInfo
CachedModuleHandler::getImplementationInfo protected function Overrides \Drupal\Core\Extension\ModuleHandler::getImplementationInfo(). Overrides ModuleHandler::getImplementationInfo
CachedModuleHandler::resetImplementations public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::resetImplementations(). Overrides ModuleHandler::resetImplementations
CachedModuleHandler::writeCache public function Implements \Drupal\Core\Extension\CachedModuleHandlerInterface::writeCache(). Overrides CachedModuleHandlerInterface::writeCache
CachedModuleHandler::__construct public function Constructs a new CachedModuleHandler object. Overrides ModuleHandler::__construct
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::disable function Disables a given set of modules. Overrides ModuleHandlerInterface::disable 1
ModuleHandler::enable public function Enables or installs a given list of modules. Overrides ModuleHandlerInterface::enable 1
ModuleHandler::getImplementations public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::getImplementations(). Overrides ModuleHandlerInterface::getImplementations 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::setModuleList public function Implements \Drupal\Core\Extension\ModuleHandlerInterface::setModuleList(). Overrides ModuleHandlerInterface::setModuleList
ModuleHandler::uninstall public function Uninstalls a given list of disabled modules. Overrides ModuleHandlerInterface::uninstall 1