You are here

public function Context::getLabel in Context 8.4

Same name and namespace in other branches
  1. 8 src/Entity/Context.php \Drupal\context\Entity\Context::getLabel()
  2. 8.0 src/Entity/Context.php \Drupal\context\Entity\Context::getLabel()

Get the context label.

Return value

string The context label.

Overrides ContextInterface::getLabel

File

src/Entity/Context.php, line 166

Class

Context
Defines the Context entity.

Namespace

Drupal\context\Entity

Code

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