You are here

public function LibrariesOnInit::enterMainPhase in X Autoload 7.5

Enter the main phase of the request, where all module files are included.

Overrides PhaseObserverInterface::enterMainPhase

File

src/Libraries/LibrariesOnInit.php, line 56

Class

LibrariesOnInit
Registers autoload mappings from all libraries on hook_init(), or after the first cache miss.

Namespace

Drupal\xautoload\Libraries

Code

public function enterMainPhase() {
  $this
    ->registerLibrariesFinderPlugin();
}