You are here

public function Registration::getChangedTime in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Registration.php \Drupal\rng\Entity\Registration::getChangedTime()
  2. 3.x src/Entity/Registration.php \Drupal\rng\Entity\Registration::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 EntityChangedTrait::getChangedTime

File

src/Entity/Registration.php, line 109

Class

Registration
Defines the registration entity class.

Namespace

Drupal\rng\Entity

Code

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