public function EventSeries::getOwner in Booking and Availability Management Tools for Drupal 8
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
Overrides EntityOwnerInterface::getOwner
File
- modules/
bat_event_series/ src/ Entity/ EventSeries.php, line 82 - Contains \Drupal\bat_event_series\Entity\EventSeries.
Class
- EventSeries
- Defines the Event Series entity.
Namespace
Drupal\bat_event_series\EntityCode
public function getOwner() {
return $this
->get('uid')->entity;
}