function UpdateKernel::discoverServiceProviders

Overrides DrupalKernel::discoverServiceProviders

File

core/lib/Drupal/Core/Update/UpdateKernel.php, line 29

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.