You are here

public function PageManagerSectionStorage::label in Page Manager 8.4

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/PageManagerSectionStorage.php, line 191

Class

PageManagerSectionStorage
Defines the 'page_manager' section storage type.

Namespace

Drupal\page_manager\Plugin\SectionStorage

Code

public function label() {
  return $this
    ->getPageVariant()
    ->label();
}