You are here

public function DashboardSectionStorage::getStorageId in Dashboards with Layout Builder 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/SectionStorage/DashboardSectionStorage.php \Drupal\dashboards\Plugin\SectionStorage\DashboardSectionStorage::getStorageId()

Returns an identifier for this storage.

Return value

string The unique identifier for this storage.

Overrides SectionStorageInterface::getStorageId

File

src/Plugin/SectionStorage/DashboardSectionStorage.php, line 113

Class

DashboardSectionStorage
Dashboard section storage.

Namespace

Drupal\dashboards\Plugin\SectionStorage

Code

public function getStorageId() {
  return $this
    ->getDashboard()
    ->id();
}