public function ContextDefinitionInterface::setLabel in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::setLabel()
Sets the human readable label.
Parameters
string $label: The label to set.
Return value
$this
File
- lib/
Drupal/ Component/ Plugin/ Context/ ContextDefinitionInterface.php, line 34 - Contains \Drupal\Component\Plugin\Context\ContextDefinitionInterface.
Class
- ContextDefinitionInterface
- Interface for context definitions.
Namespace
Drupal\Component\Plugin\ContextCode
public function setLabel($label);