function ContextDefinitionInterface::setDescription
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::setDescription()
- 8.9.x core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::setDescription()
- 10 core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::setDescription()
Sets the human readable description.
Parameters
string|null $description: The description to set.
Return value
$this
1 method overrides ContextDefinitionInterface::setDescription()
- ContextDefinition::setDescription in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php - Sets the human readable description.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Context/ ContextDefinitionInterface.php, line 49
Class
- ContextDefinitionInterface
- Interface used to define definition objects found in ContextInterface.
Namespace
Drupal\Component\Plugin\ContextCode
public function setDescription($description);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.