public function DrupalCoreRegistryRegistrator::wakeUp in X Autoload 7.5
Wake up after a cache fail.
Parameters
ExtendedClassFinderInterface $finder: The class finder object, with any cache decorator peeled off.
string[] $extensions: Currently enabled extensions. Extension type by extension name.
Overrides PhaseObserverInterface::wakeUp
File
- src/
Phases/ DrupalCoreRegistryRegistrator.php, line 18
Class
Namespace
Drupal\xautoload\PhasesCode
public function wakeUp(ExtendedClassFinderInterface $finder, array $extensions) {
$plugin = new DrupalCoreRegistryPlugin(DRUPAL_ROOT . '/');
$finder
->getNamespaceMap()
->registerDeepPath('', 'registry', $plugin);
$finder
->getPrefixMap()
->registerDeepPath('', 'registry', $plugin);
}