You are here

public function SectionStorageInterface::label in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::label()
  2. 10 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_builder

Code

public function label();