public function 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\EntityCode
public function setRevisionUser(UserInterface $account);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!RevisionLogInterface.php/function/RevisionLogInterface::setRevisionUser/8.1.x