class DependencySerializationTraitPass
Same name in other branches
- 8.9.x core/lib/Drupal/Core/DependencyInjection/Compiler/DependencySerializationTraitPass.php \Drupal\Core\DependencyInjection\Compiler\DependencySerializationTraitPass
- 10 core/lib/Drupal/Core/DependencyInjection/Compiler/DependencySerializationTraitPass.php \Drupal\Core\DependencyInjection\Compiler\DependencySerializationTraitPass
- 11.x core/lib/Drupal/Core/DependencyInjection/Compiler/DependencySerializationTraitPass.php \Drupal\Core\DependencyInjection\Compiler\DependencySerializationTraitPass
Sets the _serviceId property on all services.
Hierarchy
- class \Drupal\Core\DependencyInjection\Compiler\DependencySerializationTraitPass implements \Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
Expanded class hierarchy of DependencySerializationTraitPass
Deprecated
in drupal:9.5.0 and is removed from drupal:11.0.0. The _serviceId property is no longer part of the container. Use \Drupal\Core\DrupalKernelInterface::getServiceIdMapping() instead.
See also
https://www.drupal.org/node/3292540
\Drupal\Core\DependencyInjection\DependencySerializationTrait
File
-
core/
lib/ Drupal/ Core/ DependencyInjection/ Compiler/ DependencySerializationTraitPass.php, line 18
Namespace
Drupal\Core\DependencyInjection\CompilerView source
class DependencySerializationTraitPass implements CompilerPassInterface {
/**
* {@inheritdoc}
*/
public function process(ContainerBuilder $container) {
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.