You are here

public function UpdateKernel::discoverServiceProviders in Zircon Profile 8

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

Discovers available serviceProviders.

Return value

array The available serviceProviders.

Overrides DrupalKernel::discoverServiceProviders

File

core/lib/Drupal/Core/Update/UpdateKernel.php, line 32
Contains \Drupal\Core\Update\UpdateKernel.

Class

UpdateKernel
Defines a kernel which is used primarily to run the update of Drupal.

Namespace

Drupal\Core\Update

Code

public function discoverServiceProviders() {
  parent::discoverServiceProviders();
  $this->serviceProviderClasses['app']['update_kernel'] = 'Drupal\\Core\\Update\\UpdateServiceProvider';
}