interface ServiceModifierInterface in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Core/DependencyInjection/ServiceModifierInterface.php \Drupal\Core\DependencyInjection\ServiceModifierInterface
Interface that service providers can implement to modify services.
Hierarchy
- interface \Drupal\Core\DependencyInjection\ServiceModifierInterface
Expanded class hierarchy of ServiceModifierInterface
All classes that implement ServiceModifierInterface
1 file declares its use of ServiceModifierInterface
- ModifyServiceDefinitionsPass.php in lib/
Drupal/ Core/ DependencyInjection/ Compiler/ ModifyServiceDefinitionsPass.php - Contains \Drupal\Core\DependencyInjection\Compiler\ModifyServiceDefinitionsPass.
File
- lib/
Drupal/ Core/ DependencyInjection/ ServiceModifierInterface.php, line 15 - Contains \Drupal\Core\DependencyInjection\ServiceModifierInterface.
Namespace
Drupal\Core\DependencyInjectionView source
interface ServiceModifierInterface {
/**
* Modifies existing service definitions.
*
* @param ContainerBuilder $container
* The ContainerBuilder whose service definitions can be altered.
*/
public function alter(ContainerBuilder $container);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServiceModifierInterface:: |
public | function | Modifies existing service definitions. | 1 |