You are here

public function Ingredient::getChangedTime in Recipe 8.2

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

modules/ingredient/src/Entity/Ingredient.php, line 64

Class

Ingredient
Defines the Ingredient entity.

Namespace

Drupal\ingredient\Entity

Code

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