RevisionLogEntityTrait::getRevisionUserId

public RevisionLogEntityTrait::getRevisionUserId()

Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUserId().

Overrides RevisionLogInterface::getRevisionUserId

File

core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php, line 88

Class

RevisionLogEntityTrait
Provides a trait for accessing revision logging and ownership information.

Namespace

Drupal\Core\Entity

Code

public function getRevisionUserId() {
  return $this->revision_user->target_id;
}
doc_Drupal
2016-10-29 09:38:32
Comments
Leave a Comment

Please login to continue.