You are here

public function SectionStorageInterface::getLayoutBuilderUrl in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::getLayoutBuilderUrl()
  2. 9 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.

2 methods override SectionStorageInterface::getLayoutBuilderUrl()
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');