class LayoutBuilderAtServiceProvider in Layout Builder Asymmetric Translation 8.2
Layout Builder At service provider.
Hierarchy
- class \Drupal\layout_builder_at\LayoutBuilderAtServiceProvider implements ServiceProviderInterface
Expanded class hierarchy of LayoutBuilderAtServiceProvider
File
- src/
LayoutBuilderAtServiceProvider.php, line 11
Namespace
Drupal\layout_builder_atView source
class LayoutBuilderAtServiceProvider implements ServiceProviderInterface {
/**
* {@inheritdoc}
*/
public function register(ContainerBuilder $container) {
if ($container
->hasDefinition('layout_builder.get_block_dependency_subscriber')) {
$definition = $container
->getDefinition('layout_builder.get_block_dependency_subscriber');
$definition
->setClass('\\Drupal\\layout_builder_at\\EventSubscriber\\SetInlineBlockDependencyWithContextTranslation');
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LayoutBuilderAtServiceProvider:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |