public EntityOwnerInterface::setOwnerId($uid)
Sets the entity owner's user ID.
Parameters
int $uid: The owner user id.
Return value
$this
File
- core/modules/user/src/EntityOwnerInterface.php, line 50
Class
- EntityOwnerInterface
- Defines a common interface for entities that have an owner.
Namespace
Drupal\user
Code
public function setOwnerId($uid);
Please login to continue.