You are here

public function ContextInterface::setGroup in Context 8.4

Same name and namespace in other branches
  1. 8 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: The name of the group to set.

Return value

$this This Context object.

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 100

Class

ContextInterface
Provides an interface for Context.

Namespace

Drupal\context

Code

public function setGroup($group);