EntityOwnerInterface::setOwnerId

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);
doc_Drupal
2016-10-29 09:07:18
Comments
Leave a Comment

Please login to continue.