public function ContextDefinitionInterface::setDescription in Drupal 8
Same name and namespace in other branches
- 9 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);