You are here

public function ContextInterface::setGroup in Context 8

Same name and namespace in other branches
  1. 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::setGroup()
  2. 8.0 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

ContextInterface

Namespace

Drupal\context

Code

public function setGroup($group);