You are here

protected function DrupalKernel::addServiceFiles in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::addServiceFiles()

Add service files.

Parameters

string[] $service_yamls: A list of service files.

1 call to DrupalKernel::addServiceFiles()
DrupalKernel::discoverServiceProviders in core/lib/Drupal/Core/DrupalKernel.php
Discovers available serviceProviders.

File

core/lib/Drupal/Core/DrupalKernel.php, line 1468
Contains \Drupal\Core\DrupalKernel.

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');
}