public function Reference::setOwnerId in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/Entity/Reference.php \Drupal\bibcite_entity\Entity\Reference::setOwnerId()
Sets the entity owner's user ID.
Parameters
int $uid: The owner user id.
Return value
$this
Overrides EntityOwnerInterface::setOwnerId
File
- modules/
bibcite_entity/ src/ Entity/ Reference.php, line 153
Class
- Reference
- Defines the Reference entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function setOwnerId($uid) {
$this
->set('uid', $uid);
return $this;
}