public function SimpleConfigSectionStorage::getStorageType in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php \Drupal\layout_builder_test\Plugin\SectionStorage\SimpleConfigSectionStorage::getStorageType()
- 9 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
3 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.
- 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.
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\SectionStorageCode
public function getStorageType() {
return $this
->getPluginId();
}