function RevisionLogEntityTrait::getRevisionUserId
Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUserId().
File
- 
              core/
lib/ Drupal/ Core/ Entity/ RevisionLogEntityTrait.php, line 99  
Class
- RevisionLogEntityTrait
 - Provides a trait for accessing revision logging and ownership information.
 
Namespace
Drupal\Core\EntityCode
public function getRevisionUserId() {
  return $this->{$this->getEntityType()
    ->getRevisionMetadataKey('revision_user')}->target_id;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.