You are here

public function Media::getRevisionUserId in Media entity 8

Gets the entity revision author ID.

Return value

int The user ID.

Overrides RevisionLogInterface::getRevisionUserId

File

src/Entity/Media.php, line 460

Class

Media
Defines the media entity class.

Namespace

Drupal\media_entity\Entity

Code

public function getRevisionUserId() {
  return $this->revision_uid->target_id;
}