public function OpignoCertificate::setOwnerId in Opigno certificate 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoCertificate.php \Drupal\opigno_certificate\Entity\OpignoCertificate::setOwnerId()
Sets the entity owner's user ID.
Parameters
int $uid: The owner user id.
Return value
$this
Overrides EntityOwnerInterface::setOwnerId
File
- src/
Entity/ OpignoCertificate.php, line 151
Class
- OpignoCertificate
- Defines the opigno_certificate entity class.
Namespace
Drupal\opigno_certificate\EntityCode
public function setOwnerId($uid) {
$this
->set('uid', $uid);
return $this;
}