public NodeInterface::setRevisionAuthorId($uid)
Sets the node revision author.
Parameters
int $uid: The user ID of the revision author.
Return value
\Drupal\node\NodeInterface The called node entity.
Deprecated
in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId() instead.
File
- core/modules/node/src/NodeInterface.php, line 162
Class
- NodeInterface
- Provides an interface defining a node entity.
Namespace
Drupal\node
Code
public function setRevisionAuthorId($uid);
Please login to continue.