You are here

public function SectionStorageInterface::label in Drupal 10

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

2 methods override SectionStorageInterface::label()
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_builder

Code

public function label();