function SectionStorageBase::getStorageType

Same name in other branches
  1. 8.9.x core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getStorageType()
  2. 10 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getStorageType()
  3. 11.x core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getStorageType()

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();
}

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