function SectionStorageInterface::label

Same name and namespace in other branches
  1. 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.

2 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.

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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.