public function Group::isUserGenerated in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/Group.php \Drupal\rng\Entity\Group::isUserGenerated()
- 3.x src/Entity/Group.php \Drupal\rng\Entity\Group::isUserGenerated()
Determine if a module created the group.
Return value
boolean Whether the group is user created.
Overrides GroupInterface::isUserGenerated
File
- src/
Entity/ Group.php, line 67
Class
- Group
- Defines the application group entity class.
Namespace
Drupal\rng\EntityCode
public function isUserGenerated() {
return $this
->getSource() === NULL;
}