You are here

public function LayoutBase::getLabel in Layout Plugin (obsolete, use core's Layout Discovery) 8

Gets the human-readable name.

Return value

\Drupal\Core\Annotation\Translation|NULL The human-readable name.

File

src/Plugin/Layout/LayoutBase.php, line 28

Class

LayoutBase
Provides a base class for Layout plugins.

Namespace

Drupal\layout_plugin\Plugin\Layout

Code

public function getLabel() {
  return $this->pluginDefinition['label'];
}