You are here

TranslatableOverridesSectionStorage.php in Layout Builder Asymmetric Translation 8.2

Same filename and directory in other branches
  1. 8 src/Plugin/SectionStorage/TranslatableOverridesSectionStorage.php

File

src/Plugin/SectionStorage/TranslatableOverridesSectionStorage.php
View source
<?php

namespace Drupal\layout_builder_at\Plugin\SectionStorage;

use Drupal\Core\Access\AccessResult;
use Drupal\Core\Session\AccountInterface;
use Drupal\layout_builder\Plugin\SectionStorage\OverridesSectionStorage;
class TranslatableOverridesSectionStorage extends OverridesSectionStorage {

  /**
   * {@inheritdoc}
   */
  protected function handleTranslationAccess(AccessResult $result, $operation, AccountInterface $account) {
    return $result;
  }

}