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