function ContextDefinitionInterface::getLabel

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::getLabel()
  2. 8.9.x core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::getLabel()
  3. 11.x core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::getLabel()

Gets a human readable label.

Return value

string The label.

1 method overrides ContextDefinitionInterface::getLabel()
ContextDefinition::getLabel in core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php
Gets a human readable label.

File

core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php, line 21

Class

ContextDefinitionInterface
Interface used to define definition objects found in ContextInterface.

Namespace

Drupal\Component\Plugin\Context

Code

public function getLabel();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.