RevisionLogInterface::setRevisionUser

public RevisionLogInterface::setRevisionUser(UserInterface $account)

Sets the entity revision author.

Parameters

\Drupal\user\UserInterface $account: The user account of the revision author.

Return value

$this

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function setRevisionUser(UserInterface $account);
doc_Drupal
2016-10-29 09:38:34
Comments
Leave a Comment

Please login to continue.