You are here

public function ServiceContainerSymfonyServiceProvider::alterContainerDefinition in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/src/ServiceContainer/ServiceProvider/ServiceContainerSymfonyServiceProvider.php \Drupal\service_container_symfony\ServiceContainer\ServiceProvider\ServiceContainerSymfonyServiceProvider::alterContainerDefinition()

Allows to alter the container definition.

Parameters

array $container_definition: An associative array with the following keys:

  • parameters: Simple key-value store of container parameters.
  • services: Services like defined in services.yml
  • tags: Associative array keyed by tag names with array('service_name' => $tag_args) as values.

Overrides ServiceProviderInterface::alterContainerDefinition

See also

ServiceProviderInterface::getContainerDefinition()

File

modules/providers/service_container_symfony/src/ServiceContainer/ServiceProvider/ServiceContainerSymfonyServiceProvider.php, line 55
Contains \Drupal\service_container_symfony\ServiceContainer\ServiceProvider\ServiceContainerSymfonyServiceProvider

Class

ServiceContainerSymfonyServiceProvider
Provides render cache service definitions.

Namespace

Drupal\service_container_symfony\ServiceContainer\ServiceProvider

Code

public function alterContainerDefinition(&$container_definition) {
}