function Node::setRevisionAuthorId
Overrides NodeInterface::setRevisionAuthorId
File
-
core/
modules/ node/ src/ Entity/ Node.php, line 269
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\EntityCode
public function setRevisionAuthorId($uid) {
@trigger_error(__NAMESPACE__ . '\\Node::setRevisionAuthorId is deprecated in drupal:8.2.0 and is removed from drupal:9.0.0. Use \\Drupal\\Core\\Entity\\RevisionLogInterface::setRevisionUserId() instead. See https://www.drupal.org/node/3069750', E_USER_DEPRECATED);
return $this->setRevisionUserId($uid);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.