You are here

public function EntityRevisionLogInterface::setRevisionUserId in Entity API 8.0

Sets the entity revision author by ID.

Parameters

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

Return value

$this

File

src/Revision/EntityRevisionLogInterface.php, line 71
Contains \Drupal\entity\Revision\EntityRevisionLogInterface.

Class

EntityRevisionLogInterface
Defines an entity type with create time/author/log information for revisions.

Namespace

Drupal\entity\Revision

Code

public function setRevisionUserId($user_id);