public function SectionStorageInterface::label in Drupal 9
Same name and namespace in other branches
- 8 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 108
Class
- SectionStorageInterface
- Defines an interface for Section Storage type plugins.
Namespace
Drupal\layout_builderCode
public function label();