LayoutBuilderAtServiceProvider.php in Layout Builder Asymmetric Translation 8.2
File
src/LayoutBuilderAtServiceProvider.php
View source
<?php
namespace Drupal\layout_builder_at;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceProviderInterface;
class LayoutBuilderAtServiceProvider implements ServiceProviderInterface {
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');
}
}
}