You are here

class LayoutBuilderAtServiceProvider in Layout Builder Asymmetric Translation 8.2

Layout Builder At service provider.

Hierarchy

Expanded class hierarchy of LayoutBuilderAtServiceProvider

File

src/LayoutBuilderAtServiceProvider.php, line 11

Namespace

Drupal\layout_builder_at
View 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