You are here

public function ConfigPagesContextBase::getLabel in Config Pages 8

Same name and namespace in other branches
  1. 8.3 src/ConfigPagesContextBase.php \Drupal\config_pages\ConfigPagesContextBase::getLabel()
  2. 8.2 src/ConfigPagesContextBase.php \Drupal\config_pages\ConfigPagesContextBase::getLabel()

Return the label of the context.

Return value

string

Overrides ConfigPagesContextInterface::getLabel

File

src/ConfigPagesContextBase.php, line 14

Class

ConfigPagesContextBase

Namespace

Drupal\config_pages

Code

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