protected function DrupalKernel::addServiceFiles
protected DrupalKernel::addServiceFiles(array $service_yamls)
Add service files.
Parameters
string[] $service_yamls: A list of service files.
File
- core/lib/Drupal/Core/DrupalKernel.php, line 1472
Class
- DrupalKernel
- The DrupalKernel class is the core of Drupal itself.
Namespace
Drupal\CoreCode
protected function addServiceFiles(array $service_yamls) { $this->serviceYamls['site'] = array_filter($service_yamls, 'file_exists'); }
© 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::addServiceFiles/8.1.x