function EntityChangedTrait::getChangedTime
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityChangedTrait.php \Drupal\Core\Entity\EntityChangedTrait::getChangedTime()
- 10 core/lib/Drupal/Core/Entity/EntityChangedTrait.php \Drupal\Core\Entity\EntityChangedTrait::getChangedTime()
- 11.x core/lib/Drupal/Core/Entity/EntityChangedTrait.php \Drupal\Core\Entity\EntityChangedTrait::getChangedTime()
Gets the timestamp of the last entity change for the current translation.
Return value
int The timestamp of the last entity save operation.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityChangedTrait.php, line 32
Class
- EntityChangedTrait
- Provides a trait for accessing changed time.
Namespace
Drupal\Core\EntityCode
public function getChangedTime() {
return $this->get('changed')->value;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.