You are here

public function LayoutTranslationItemList::defaultAccess in Layout Builder Symmetric Translations 8

Overrides \Drupal\Core\Field\FieldItemListInterface::defaultAccess().

Overrides FieldItemList::defaultAccess

File

src/Field/LayoutTranslationItemList.php, line 16

Class

LayoutTranslationItemList

Namespace

Drupal\layout_builder_st\Field

Code

public function defaultAccess($operation = 'view', AccountInterface $account = NULL) {

  // @todo Allow access in https://www.drupal.org/node/2942975.
  return AccessResult::forbidden();
}