function SectionStorageInterface::getStorageType

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::getStorageType()
  2. 8.9.x core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::getStorageType()
  3. 10 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::getStorageType()

Returns the type of this storage.

Used in conjunction with the storage ID.

Return value

string The type of storage.

3 methods override SectionStorageInterface::getStorageType()
NavigationSectionStorage::getStorageType in core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php
Returns the type of this storage.
SectionStorageBase::getStorageType in core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php
Returns the type of this storage.
SimpleConfigSectionStorage::getStorageType in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
Returns the type of this storage.

File

core/modules/layout_builder/src/SectionStorageInterface.php, line 33

Class

SectionStorageInterface
Defines an interface for Section Storage type plugins.

Namespace

Drupal\layout_builder

Code

public function getStorageType();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.