W3cubDocs

/Drupal 8

interface ServiceModifierInterface

Interface that service providers can implement to modify services.

Hierarchy

Related topics

Services and Dependency Injection Container
Overview of the Dependency Injection Container and Services.

File

core/lib/Drupal/Core/DependencyInjection/ServiceModifierInterface.php, line 10

Namespace

Drupal\Core\DependencyInjection

Members

Name Modifiers Type Description
ServiceModifierInterface::alter public function Modifies existing service definitions.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DependencyInjection!ServiceModifierInterface.php/interface/ServiceModifierInterface/8.1.x