You are here

public function ContextInterface::setLabel in Context 8.0

Same name and namespace in other branches
  1. 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::setLabel()
  2. 8 src/ContextInterface.php \Drupal\context\ContextInterface::setLabel()

Set the context label.

Parameters

string $label:

Return value

$this

1 method overrides ContextInterface::setLabel()
Context::setLabel in src/Entity/Context.php
Set the context label.

File

src/ContextInterface.php, line 55

Class

ContextInterface

Namespace

Drupal\context

Code

public function setLabel($label);