You are here

public function DashboardSectionStorage::getStorageId in Dashboards with Layout Builder 2.0.x

Same name and namespace in other branches
  1. 8 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 143

Class

DashboardSectionStorage
Dashboard section storage.

Namespace

Drupal\dashboards\Plugin\SectionStorage

Code

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