protected function DrupalKernel::getModuleFileNames

Returns the file name for each enabled module.

2 calls to DrupalKernel::getModuleFileNames()
DrupalKernel::buildContainer in drupal/core/lib/Drupal/Core/DrupalKernel.php
Builds the service container.
DrupalKernel::registerBundles in drupal/core/lib/Drupal/Core/DrupalKernel.php
Returns an array of available bundles.

File

drupal/core/lib/Drupal/Core/DrupalKernel.php, line 528
Definition of Drupal\Core\DrupalKernel.

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected function getModuleFileNames() {
  $filenames = array();
  foreach ($this->moduleList as $module => $weight) {
    if ($data = $this
      ->moduleData($module)) {
      $filenames[$module] = $data->uri;
    }
  }
  return $filenames;
}