public function EntityRevisionLogInterface::setRevisionUser in Entity API 8.0
Sets the entity revision author.
Parameters
\Drupal\user\UserInterface $account: The user account of the revision author.
Return value
$this
File
- src/
Revision/ EntityRevisionLogInterface.php, line 53 - Contains \Drupal\entity\Revision\EntityRevisionLogInterface.
Class
- EntityRevisionLogInterface
- Defines an entity type with create time/author/log information for revisions.
Namespace
Drupal\entity\RevisionCode
public function setRevisionUser(UserInterface $account);