public function BrightcoveCmsEntity::setOwnerId in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveCmsEntity.php \Drupal\brightcove\Entity\BrightcoveCmsEntity::setOwnerId()
- 3.x src/Entity/BrightcoveCmsEntity.php \Drupal\brightcove\Entity\BrightcoveCmsEntity::setOwnerId()
Sets the entity owner's user ID.
Parameters
int $uid: The owner user id.
Return value
$this
Overrides EntityOwnerInterface::setOwnerId
File
- src/
Entity/ BrightcoveCmsEntity.php, line 90
Class
- BrightcoveCmsEntity
- Common base class for CMS entities like Video and Playlist.
Namespace
Drupal\brightcove\EntityCode
public function setOwnerId($uid) {
$this
->set('uid', $uid);
return $this;
}