You are here

public function ContextDefinitionInterface::setDescription in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::setDescription()
  2. 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\Context

Code

public function setDescription($description);