You are here

public function SimpleConfigSectionStorage::getStorageType in Drupal 9

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::getStorageType()

Returns the type of this storage.

Used in conjunction with the storage ID.

Return value

string The type of storage.

Overrides SectionStorageInterface::getStorageType

2 calls to SimpleConfigSectionStorage::getStorageType()
SimpleConfigSectionStorage::buildLocalTasks in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
Provides the local tasks dynamically for Layout Builder plugins.
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.

File

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

Class

SimpleConfigSectionStorage
Provides section storage utilizing simple config.

Namespace

Drupal\layout_builder_test\Plugin\SectionStorage

Code

public function getStorageType() {
  return $this
    ->getPluginId();
}