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 1531

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected function addServiceFiles(array $service_yamls) {
  $this->serviceYamls['site'] = array_filter($service_yamls, 'file_exists');
}
doc_Drupal
2016-10-29 09:02:58
Comments
Leave a Comment

Please login to continue.