public function Library::label in Layout builder library 8
Gets the label for the object using the sections.
Return value
string The label, or NULL if there is no label defined.
Overrides SectionStorageInterface::label
File
- src/
Plugin/ SectionStorage/ Library.php, line 240
Class
- Library
- Defines a class for library based layout storage.
Namespace
Drupal\layout_library\Plugin\SectionStorageCode
public function label() {
return $this
->getLayout()
->label();
}