public function ContextInterface::setGroup in Context 8.0
Same name and namespace in other branches
- 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::setGroup()
- 8 src/ContextInterface.php \Drupal\context\ContextInterface::setGroup()
Set the group this context should belong to.
Parameters
null|string $group:
Return value
$this
1 method overrides ContextInterface::setGroup()
- Context::setGroup in src/
Entity/ Context.php - Set the group this context should belong to.
File
- src/
ContextInterface.php, line 87
Class
Namespace
Drupal\contextCode
public function setGroup($group);