public function RevisionLogInterface::setRevisionUserId
public RevisionLogInterface::setRevisionUserId($user_id)
Sets the entity revision author by ID.
Parameters
int $user_id: The user ID of the revision author.
Return value
$this
File
- core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 64
Class
- RevisionLogInterface
- Defines methods for an entity that supports revision logging and ownership.
Namespace
Drupal\Core\EntityCode
public function setRevisionUserId($user_id);
© 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::setRevisionUserId/8.1.x