function DrupalKernel::getServiceIdMapping

Same name in other branches
  1. 10 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getServiceIdMapping()

Overrides DrupalKernelInterface::getServiceIdMapping

File

core/lib/Drupal/Core/DrupalKernel.php, line 861

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

public function getServiceIdMapping() {
    @trigger_error(__METHOD__ . "() is deprecated in drupal:9.5.1 and is removed from drupal:11.0.0. Use the 'Drupal\\Component\\DependencyInjection\\ReverseContainer' service instead. See https://www.drupal.org/node/3327942", E_USER_DEPRECATED);
    $this->collectServiceIdMapping();
    return $this->serviceIdMapping;
}

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