function NavigationSectionStorage::getStorageType

Same name and namespace in other branches
  1. 11.x core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php \Drupal\navigation\Plugin\SectionStorage\NavigationSectionStorage::getStorageType()

Returns the type of this storage.

Used in conjunction with the storage ID.

Return value

string The type of storage.

Overrides SectionStorageInterface::getStorageType

File

core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php, line 86

Class

NavigationSectionStorage
Provides navigation section storage.

Namespace

Drupal\navigation\Plugin\SectionStorage

Code

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

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