public function EventEnrollment::getAccount in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/src/Entity/EventEnrollment.php \Drupal\social_event\Entity\EventEnrollment::getAccount()
- 8.5 modules/social_features/social_event/src/Entity/EventEnrollment.php \Drupal\social_event\Entity\EventEnrollment::getAccount()
- 8.6 modules/social_features/social_event/src/Entity/EventEnrollment.php \Drupal\social_event\Entity\EventEnrollment::getAccount()
- 8.7 modules/social_features/social_event/src/Entity/EventEnrollment.php \Drupal\social_event\Entity\EventEnrollment::getAccount()
- 8.8 modules/social_features/social_event/src/Entity/EventEnrollment.php \Drupal\social_event\Entity\EventEnrollment::getAccount()
- 10.3.x modules/social_features/social_event/src/Entity/EventEnrollment.php \Drupal\social_event\Entity\EventEnrollment::getAccount()
- 10.1.x modules/social_features/social_event/src/Entity/EventEnrollment.php \Drupal\social_event\Entity\EventEnrollment::getAccount()
- 10.2.x modules/social_features/social_event/src/Entity/EventEnrollment.php \Drupal\social_event\Entity\EventEnrollment::getAccount()
1 call to EventEnrollment::getAccount()
- EventEnrollment::preSave in modules/
social_features/ social_event/ src/ Entity/ EventEnrollment.php - Acts on an entity before the presave hook is invoked.
File
- modules/
social_features/ social_event/ src/ Entity/ EventEnrollment.php, line 149
Class
- EventEnrollment
- Defines the Event enrollment entity.
Namespace
Drupal\social_event\EntityCode
public function getAccount() {
return $this
->get('field_account')->target_id;
}