function RevisionLogInterface::setRevisionUser
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser()
- 8.9.x core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser()
- 10 core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser()
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 49
Class
- RevisionLogInterface
- Defines methods for an entity that supports revision logging and ownership.
Namespace
Drupal\Core\EntityCode
public function setRevisionUser(UserInterface $account);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.