class DrupalCoreRegistryRegistrator in X Autoload 7.5
Hierarchy
- class \Drupal\xautoload\Phases\DrupalCoreRegistryRegistrator implements PhaseObserverInterface
Expanded class hierarchy of DrupalCoreRegistryRegistrator
1 file declares its use of DrupalCoreRegistryRegistrator
- ServiceFactory.php in src/
DIC/ ServiceFactory.php
File
- src/
Phases/ DrupalCoreRegistryRegistrator.php, line 8
Namespace
Drupal\xautoload\PhasesView source
class DrupalCoreRegistryRegistrator implements PhaseObserverInterface {
/**
* Wake up after a cache fail.
*
* @param ExtendedClassFinderInterface $finder
* The class finder object, with any cache decorator peeled off.
* @param string[] $extensions
* Currently enabled extensions. Extension type by extension name.
*/
public function wakeUp(ExtendedClassFinderInterface $finder, array $extensions) {
$plugin = new DrupalCoreRegistryPlugin(DRUPAL_ROOT . '/');
$finder
->getNamespaceMap()
->registerDeepPath('', 'registry', $plugin);
$finder
->getPrefixMap()
->registerDeepPath('', 'registry', $plugin);
}
/**
* Enter the boot phase of the request, where all bootstrap module files are included.
*/
public function enterBootPhase() {
// Nothing.
}
/**
* Enter the main phase of the request, where all module files are included.
*/
public function enterMainPhase() {
// Nothing.
}
/**
* React to new extensions that were just enabled.
*
* @param string $name
* @param string $type
*/
public function welcomeNewExtension($name, $type) {
// Nothing.
}
/**
* React to xautoload_modules_enabled()
*
* @param string[] $modules
* New module names.
*/
public function modulesEnabled($modules) {
// Nothing.
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DrupalCoreRegistryRegistrator:: |
public | function |
Enter the boot phase of the request, where all bootstrap module files are included. Overrides PhaseObserverInterface:: |
|
DrupalCoreRegistryRegistrator:: |
public | function |
Enter the main phase of the request, where all module files are included. Overrides PhaseObserverInterface:: |
|
DrupalCoreRegistryRegistrator:: |
public | function |
React to xautoload_modules_enabled() Overrides PhaseObserverInterface:: |
|
DrupalCoreRegistryRegistrator:: |
public | function |
Wake up after a cache fail. Overrides PhaseObserverInterface:: |
|
DrupalCoreRegistryRegistrator:: |
public | function |
React to new extensions that were just enabled. Overrides PhaseObserverInterface:: |