You are here

public function Feed::setOwnerId in Feeds 8.3

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

src/Entity/Feed.php, line 224

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

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