You are here

public function Registration::getChangedTime in RNG - Events and Registrations 3.x

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

Class

Registration
Defines the registration entity class.

Namespace

Drupal\rng\Entity

Code

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