function SectionStorageInterface::access

Same name in other branches
  1. 9 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::access()
  2. 8.9.x core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::access()
  3. 11.x core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::access()

Overrides \Drupal\Core\Access\AccessibleInterface::access().

Overrides AccessibleInterface::access

Related topics

5 methods override SectionStorageInterface::access()
DefaultsSectionStorage::access in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
NavigationSectionStorage::access in core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php
OverridesSectionStorage::access in core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
SimpleConfigSectionStorage::access in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
TestStateBasedSectionStorage::access in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php

File

core/modules/layout_builder/src/SectionStorageInterface.php, line 151

Class

SectionStorageInterface
Defines an interface for Section Storage type plugins.

Namespace

Drupal\layout_builder

Code

public function access($operation, ?AccountInterface $account = NULL, $return_as_object = FALSE);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.