Provides a trait for accessing changed time.
Hierarchy
- trait \Drupal\Core\Entity\EntityChangedTrait
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 |
Please login to continue.