You are here

public function Context::getGroup in Context 8.0

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

Get the group this context belongs to.

Return value

null|string

Overrides ContextInterface::getGroup

File

src/Entity/Context.php, line 203

Class

Context
Defines the Context entity.

Namespace

Drupal\context\Entity

Code

public function getGroup() {
  return $this->group;
}