class ConfigProviderServiceProvider in Configuration Provider 8.2
Same name and namespace in other branches
- 8 src/ConfigProviderServiceProvider.php \Drupal\config_provider\ConfigProviderServiceProvider
Service provider implementation for Configuration Provider.
Hierarchy
- class \Drupal\Core\DependencyInjection\ServiceProviderBase implements ServiceModifierInterface, ServiceProviderInterface
- class \Drupal\config_provider\ConfigProviderServiceProvider
Expanded class hierarchy of ConfigProviderServiceProvider
File
- src/
ConfigProviderServiceProvider.php, line 13
Namespace
Drupal\config_providerView source
class ConfigProviderServiceProvider extends ServiceProviderBase {
/**
* {@inheritdoc}
*/
public function alter(ContainerBuilder $container) {
// Override the config.installer class with a new class.
$definition = $container
->getDefinition('config.installer');
$definition
->setClass('Drupal\\config_provider\\ConfigProviderConfigInstaller');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigProviderServiceProvider:: |
public | function |
Modifies existing service definitions. Overrides ServiceProviderBase:: |
|
ServiceProviderBase:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |
1 |