function SectionStorageInterface::getLayoutBuilderUrl

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

Gets the URL used to display the Layout Builder UI.

Parameters

string $rel: (optional) The link relationship type, for example: 'view' or 'disable'. Defaults to 'view'.

Return value

\Drupal\Core\Url The URL object.

4 methods override SectionStorageInterface::getLayoutBuilderUrl()
DefaultsSectionStorage::getLayoutBuilderUrl in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Gets the URL used to display the Layout Builder UI.
OverridesSectionStorage::getLayoutBuilderUrl in core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
Gets the URL used to display the Layout Builder UI.
SimpleConfigSectionStorage::getLayoutBuilderUrl in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
Gets the URL used to display the Layout Builder UI.
TestStateBasedSectionStorage::getLayoutBuilderUrl in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
Gets the URL used to display the Layout Builder UI.

File

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

Class

SectionStorageInterface
Defines an interface for Section Storage type plugins.

Namespace

Drupal\layout_builder

Code

public function getLayoutBuilderUrl($rel = 'view');

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