You are here

public function SimpleConfigSectionStorage::getStorageId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php \Drupal\layout_builder_test\Plugin\SectionStorage\SimpleConfigSectionStorage::getStorageId()
  2. 9 core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php \Drupal\layout_builder_test\Plugin\SectionStorage\SimpleConfigSectionStorage::getStorageId()

Returns an identifier for this storage.

Return value

string The unique identifier for this storage.

Overrides SectionStorageInterface::getStorageId

3 calls to SimpleConfigSectionStorage::getStorageId()
SimpleConfigSectionStorage::getConfigName in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
Returns the name to be used to store in the config system.
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.
SimpleConfigSectionStorage::label in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
Gets the label for the object using the sections.

File

core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php, line 83

Class

SimpleConfigSectionStorage
Provides section storage utilizing simple config.

Namespace

Drupal\layout_builder_test\Plugin\SectionStorage

Code

public function getStorageId() {
  return $this
    ->getContextValue('config_id');
}