public function Group::getSource in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/Group.php \Drupal\rng\Entity\Group::getSource()
- 3.x src/Entity/Group.php \Drupal\rng\Entity\Group::getSource()
Get which module created the group.
Return value
string Name of a module.
Overrides GroupInterface::getSource
1 call to Group::getSource()
- Group::isUserGenerated in src/
Entity/ Group.php - Determine if a module created the group.
File
- src/
Entity/ Group.php, line 74
Class
- Group
- Defines the application group entity class.
Namespace
Drupal\rng\EntityCode
public function getSource() {
return $this
->get('source')->value;
}