You are here

function DrupalExtensionAdapter::registerExtensionsByName in X Autoload 7.4

Register lazy plugins for enabled Drupal modules and themes, assuming that we don't know yet whether they use PSR-0, PEAR-Flat, or none of these.

Parameters

string[] $extension_names: Extension names.

File

lib/Adapter/DrupalExtensionAdapter.php, line 89

Class

DrupalExtensionAdapter
Service that knows how to register module namespaces and prefixes into the class loader, and that remembers which modules have already been registered.

Namespace

Drupal\xautoload\Adapter

Code

function registerExtensionsByName($extension_names) {
  $this
    ->registerExtensions($this->system
    ->getExtensionTypes($extension_names));
}