function RevisionLogInterface::setRevisionUserId

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId()
  2. 10 core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId()
  3. 11.x core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId()

Sets the entity revision author by ID.

Parameters

int $user_id: The user ID of the revision author.

Return value

$this

File

core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 64

Class

RevisionLogInterface
Defines methods for an entity that supports revision logging and ownership.

Namespace

Drupal\Core\Entity

Code

public function setRevisionUserId($user_id);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.