You are here

public function SectionStorageBase::getStorageType in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getStorageType()

Returns the type of this storage.

Used in conjunction with the storage ID.

Return value

string The type of storage.

Overrides SectionStorageInterface::getStorageType

1 call to SectionStorageBase::getStorageType()
DefaultsSectionStorage::buildRoutes in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Provides the routes needed for Layout Builder UI.

File

core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php, line 34

Class

SectionStorageBase
Provides a base class for Section Storage types.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

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