function SectionStorageInterface::getStorageType

Same name in other branches
  1. 8.9.x core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::getStorageType()
  2. 10 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::getStorageType()
  3. 11.x 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.

2 methods override SectionStorageInterface::getStorageType()
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.