public function SimplesamlphpAuthTestServiceProvider::alter in simpleSAMLphp Authentication 8.3
Modifies existing service definitions.
Parameters
ContainerBuilder $container: The ContainerBuilder whose service definitions can be altered.
Overrides ServiceProviderBase::alter
File
- tests/
simplesamlphp_auth_test/ src/ SimplesamlphpAuthTestServiceProvider.php, line 18
Class
- SimplesamlphpAuthTestServiceProvider
- Overrides the simplesamlphp_auth.manager service.
Namespace
Drupal\simplesamlphp_auth_testCode
public function alter(ContainerBuilder $container) {
$definition = $container
->getDefinition('simplesamlphp_auth.manager');
$definition
->setClass('Drupal\\simplesamlphp_auth_test\\SimplesamlphpAuthTestManager');
}