You are here

public function Media::getChangedTime in Media entity 8

Gets the timestamp of the last entity change for the current translation.

Return value

int The timestamp of the last entity save operation.

Overrides EntityChangedTrait::getChangedTime

File

src/Entity/Media.php, line 104

Class

Media
Defines the media entity class.

Namespace

Drupal\media_entity\Entity

Code

public function getChangedTime() {
  return $this
    ->get('changed')->value;
}