You are here

public function Group::getDescription in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Group.php \Drupal\rng\Entity\Group::getDescription()
  2. 3.x src/Entity/Group.php \Drupal\rng\Entity\Group::getDescription()

Returns the description.

Return value

string Description of the registration group.

Overrides GroupInterface::getDescription

File

src/Entity/Group.php, line 89

Class

Group
Defines the application group entity class.

Namespace

Drupal\rng\Entity

Code

public function getDescription() {
  return $this
    ->get('description')->value;
}