You are here

public function Update::getChangedTime in Update helper 2.x

Same name and namespace in other branches
  1. 8 modules/update_helper_checklist/src/Entity/Update.php \Drupal\update_helper_checklist\Entity\Update::getChangedTime()

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

Return value

int The timestamp of the last entity save operation.

Overrides EntityChangedInterface::getChangedTime

File

modules/update_helper_checklist/src/Entity/Update.php, line 64

Class

Update
Defines the Contact entity.

Namespace

Drupal\update_helper_checklist\Entity

Code

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