You are here

public property SectionStorage::$handles_permission_check in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::handles_permission_check

Indicates that this section storage handles its own permission checking.

If FALSE, the 'configure any layout' permission will be required during routing access. If TRUE, Layout Builder will not enforce any access restrictions for the storage, so the section storage's implementation of access() must perform the access checking itself. Defaults to FALSE.

Type: bool

See also

\Drupal\layout_builder\Access\LayoutBuilderAccessCheck

File

core/modules/layout_builder/src/Annotation/SectionStorage.php, line 61

Class

SectionStorage
Defines a Section Storage type annotation object.

Namespace

Drupal\layout_builder\Annotation

Code

public $handles_permission_check = FALSE;