public function ExportEntity::setOwnerId in Content Synchronizer 3.x
Same name and namespace in other branches
- 8.2 src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::setOwnerId()
- 8 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 135
Class
- ExportEntity
- Defines the Export entity entity.
Namespace
Drupal\content_synchronizer\EntityCode
public function setOwnerId($uid) {
$this
->set('user_id', $uid);
return $this;
}