protected DrupalKernel::getModuleFileNames()
Gets the file name for each enabled module.
array Array where each key is a module name, and each value is a path to the respective *.info.yml file.
protected function getModuleFileNames() { $filenames = array(); foreach ($this->moduleList as $module => $weight) { if ($data = $this->moduleData($module)) { $filenames[$module] = $data->getPathname(); } } return $filenames; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DrupalKernel.php/function/DrupalKernel::getModuleFileNames/8.1.x