trait EntityChangedTrait

Provides a trait for accessing changed time.

Hierarchy

File

core/lib/Drupal/Core/Entity/EntityChangedTrait.php, line 8

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
EntityChangedTrait::getChangedTime public function Gets the timestamp of the last entity change for the current translation. Overrides EntityChangedInterface::getChangedTime
EntityChangedTrait::getChangedTimeAcrossTranslations public function Returns the timestamp of the last entity change across all translations. Overrides EntityChangedInterface::getChangedTimeAcrossTranslations
EntityChangedTrait::setChangedTime public function Sets the timestamp of the last entity change for the current translation. Overrides EntityChangedInterface::setChangedTime

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityChangedTrait.php/trait/EntityChangedTrait/8.1.x