public function SplashifyEntity::getGroup in Splashify 8.2
File
- src/
Entity/ SplashifyEntity.php, line 161
Class
- SplashifyEntity
- Defines the Splashify entity entity.
Namespace
Drupal\splashify\EntityCode
public function getGroup() {
$group_id = $this
->get('field_group')->target_id;
return SplashifyGroupEntity::load($group_id);
}