class ConfigExportIgnoreServiceProvider in Config Export Ignore 8
Modifies the config split service to prevent exporting specified items.
Hierarchy
- class \Drupal\Core\DependencyInjection\ServiceProviderBase implements ServiceModifierInterface, ServiceProviderInterface
- class \Drupal\config_export_ignore\ConfigExportIgnoreServiceProvider
Expanded class hierarchy of ConfigExportIgnoreServiceProvider
File
- src/
ConfigExportIgnoreServiceProvider.php, line 11
Namespace
Drupal\config_export_ignoreView source
class ConfigExportIgnoreServiceProvider extends ServiceProviderBase {
/**
* {@inheritdoc}
*/
public function alter(ContainerBuilder $container) {
// Overrides ConfigSplitService class to test domain language negotiation.
$definition = $container
->getDefinition('config_split.cli');
$definition
->setClass('Drupal\\config_export_ignore\\ConfigExportIgnoreConfigSplitService');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigExportIgnoreServiceProvider:: |
public | function |
Modifies existing service definitions. Overrides ServiceProviderBase:: |
|
ServiceProviderBase:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |
1 |