You are here

public function Media::getRevisionCreationTime in Media entity 8

Gets the entity revision creation timestamp.

Return value

int The UNIX timestamp of when this revision was created.

Overrides RevisionLogInterface::getRevisionCreationTime

File

src/Entity/Media.php, line 430

Class

Media
Defines the media entity class.

Namespace

Drupal\media_entity\Entity

Code

public function getRevisionCreationTime() {
  return $this->revision_timestamp->value;
}