function 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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.