You are here

public function BootstrapLayoutsHandlerBase::getLabel in Bootstrap Layouts 8.5

Same name and namespace in other branches
  1. 8.4 src/Plugin/BootstrapLayouts/BootstrapLayoutsHandlerBase.php \Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLayoutsHandlerBase::getLabel()

Retrieves the human readable label for the plugin.

Return value

string The human readable label.

Overrides BootstrapLayoutsHandlerInterface::getLabel

File

src/Plugin/BootstrapLayouts/BootstrapLayoutsHandlerBase.php, line 38

Class

BootstrapLayoutsHandlerBase
Class BootstrapLayoutsHandlerBase

Namespace

Drupal\bootstrap_layouts\Plugin\BootstrapLayouts

Code

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