public function ContextInterface::setName in Context 8.0
Same name and namespace in other branches
- 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::setName()
- 8 src/ContextInterface.php \Drupal\context\ContextInterface::setName()
Set the machine name of the context.
Parameters
string $name:
Return value
$this
1 method overrides ContextInterface::setName()
- Context::setName in src/
Entity/ Context.php - Set the machine name of the context.
File
- src/
ContextInterface.php, line 39
Class
Namespace
Drupal\contextCode
public function setName($name);