ContentModerationState::setOwnerId

public ContentModerationState::setOwnerId($uid)

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

core/modules/content_moderation/src/Entity/ContentModerationState.php, line 109

Class

ContentModerationState
Defines the Content moderation state entity.

Namespace

Drupal\content_moderation\Entity

Code

public function setOwnerId($uid) {
  $this->set('uid', $uid);
  return $this;
}
doc_Drupal
2016-10-29 08:58:03
Comments
Leave a Comment

Please login to continue.