public function LayoutSectionItemList::defaultAccess in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Field/LayoutSectionItemList.php \Drupal\layout_builder\Field\LayoutSectionItemList::defaultAccess()
- 9 core/modules/layout_builder/src/Field/LayoutSectionItemList.php \Drupal\layout_builder\Field\LayoutSectionItemList::defaultAccess()
Overrides \Drupal\Core\Field\FieldItemListInterface::defaultAccess().
Overrides FieldItemList::defaultAccess
Related topics
File
- core/
modules/ layout_builder/ src/ Field/ LayoutSectionItemList.php, line 103
Class
- LayoutSectionItemList
- Defines an item list class for layout section fields.
Namespace
Drupal\layout_builder\FieldCode
public function defaultAccess($operation = 'view', AccountInterface $account = NULL) {
// @todo Allow access in https://www.drupal.org/node/2942975.
return AccessResult::forbidden();
}