public function DashboardSectionStorage::label in Dashboards with Layout Builder 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/SectionStorage/DashboardSectionStorage.php \Drupal\dashboards\Plugin\SectionStorage\DashboardSectionStorage::label()
Gets the label for the object using the sections.
Return value
string The label, or NULL if there is no label defined.
Overrides SectionStorageInterface::label
File
- src/
Plugin/ SectionStorage/ DashboardSectionStorage.php, line 234
Class
- DashboardSectionStorage
- Dashboard section storage.
Namespace
Drupal\dashboards\Plugin\SectionStorageCode
public function label() {
return $this
->getDashboard()
->label();
}