You are here

public function CalendarEvent::getOwnerId in Opigno calendar event 8

Same name and namespace in other branches
  1. 3.x src/Entity/CalendarEvent.php \Drupal\opigno_calendar_event\Entity\CalendarEvent::getOwnerId()

File

src/Entity/CalendarEvent.php, line 89

Class

CalendarEvent
Defines the "Calendar event" entity class.

Namespace

Drupal\opigno_calendar_event\Entity

Code

public function getOwnerId() {
  return $this
    ->get('uid')->target_id;
}