public function NodeInterface::setRevisionAuthorId in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::setRevisionAuthorId()
Sets the node revision author.
Parameters
int $uid: The user ID of the revision author.
Return value
\Drupal\node\NodeInterface The called node entity.
1 method overrides NodeInterface::setRevisionAuthorId()
- Node::setRevisionAuthorId in core/
modules/ node/ src/ Entity/ Node.php - Sets the node revision author.
File
- core/
modules/ node/ src/ NodeInterface.php, line 160 - Contains \Drupal\node\NodeInterface.
Class
- NodeInterface
- Provides an interface defining a node entity.
Namespace
Drupal\nodeCode
public function setRevisionAuthorId($uid);