function SectionStorageInterface::label
Same name in other branches
- 9 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::label()
- 10 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::label()
- 11.x core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::label()
Gets the label for the object using the sections.
Return value
string The label, or NULL if there is no label defined.
4 methods override SectionStorageInterface::label()
- DefaultsSectionStorage::label in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php - Gets the label for the object using the sections.
- OverridesSectionStorage::label in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php - Gets the label for the object using the sections.
- SimpleConfigSectionStorage::label in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ SimpleConfigSectionStorage.php - Gets the label for the object using the sections.
- TestStateBasedSectionStorage::label in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ TestStateBasedSectionStorage.php - Gets the label for the object using the sections.
File
-
core/
modules/ layout_builder/ src/ SectionStorageInterface.php, line 153
Class
- SectionStorageInterface
- Defines an interface for Section Storage type plugins.
Namespace
Drupal\layout_builderCode
public function label();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.