UpdateKernel::discoverServiceProviders

public UpdateKernel::discoverServiceProviders()

Discovers available serviceProviders.

Return value

array The available serviceProviders.

Overrides DrupalKernel::discoverServiceProviders

File

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

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';
}
doc_Drupal
2016-10-29 09:50:45
Comments
Leave a Comment

Please login to continue.