public RevisionLogEntityTrait::setRevisionUser(UserInterface $account)
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser().
Overrides RevisionLogInterface::setRevisionUser
File
- core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php, line 80
Class
- RevisionLogEntityTrait
- Provides a trait for accessing revision logging and ownership information.
Namespace
Drupal\Core\Entity
Code
public function setRevisionUser(UserInterface $account) { $this->revision_user->entity = $account; return $this; }
Please login to continue.