You are here

public function LocalTask::getChangedTime in Translation Management Tool 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

1 call to LocalTask::getChangedTime()
LocalTask::getChangedTimeAcrossTranslations in translators/tmgmt_local/src/Entity/LocalTask.php
Returns the timestamp of the last entity change across all translations.

File

translators/tmgmt_local/src/Entity/LocalTask.php, line 166

Class

LocalTask
Entity class for the local task entity.

Namespace

Drupal\tmgmt_local\Entity

Code

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