You are here

public function ContextInterface::getGroup in Context 8.4

Same name and namespace in other branches
  1. 8 src/ContextInterface.php \Drupal\context\ContextInterface::getGroup()
  2. 8.0 src/ContextInterface.php \Drupal\context\ContextInterface::getGroup()

Get the group this context belongs to.

Return value

null|string The name of the group.

1 method overrides ContextInterface::getGroup()
Context::getGroup in src/Entity/Context.php
Get the group this context belongs to.

File

src/ContextInterface.php, line 89

Class

ContextInterface
Provides an interface for Context.

Namespace

Drupal\context

Code

public function getGroup();