You are here

public function TestStateBasedSectionStorage::getLayoutBuilderUrl in Drupal 10

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

Overrides SectionStorageInterface::getLayoutBuilderUrl

File

core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php, line 87

Class

TestStateBasedSectionStorage
Provides a test section storage that is controlled by state.

Namespace

Drupal\layout_builder_test\Plugin\SectionStorage

Code

public function getLayoutBuilderUrl($rel = 'view') {
  throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}