You are here

public function UpdateKernel::discoverServiceProviders in Drupal 9

Same name and namespace in other branches
  1. 8 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 28

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