You are here

public function EventSeries::setOwnerId in Booking and Availability Management Tools for Drupal 8

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

modules/bat_event_series/src/Entity/EventSeries.php, line 96
Contains \Drupal\bat_event_series\Entity\EventSeries.

Class

EventSeries
Defines the Event Series entity.

Namespace

Drupal\bat_event_series\Entity

Code

public function setOwnerId($uid) {
  $this
    ->set('uid', $uid);
  return $this;
}