You are here

public function ExportEntity::setOwnerId in Content Synchronizer 8.2

Same name and namespace in other branches
  1. 8 src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::setOwnerId()
  2. 3.x src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::setOwnerId()

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

src/Entity/ExportEntity.php, line 130

Class

ExportEntity
Defines the Export entity entity.

Namespace

Drupal\content_synchronizer\Entity

Code

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