public function PhotosImage::getCreatedTime in Album Photos 8.5
Same name and namespace in other branches
- 6.0.x src/Entity/PhotosImage.php \Drupal\photos\Entity\PhotosImage::getCreatedTime()
Gets the image creation timestamp.
Return value
int Creation timestamp of the image.
Overrides PhotosImageInterface::getCreatedTime
File
- src/
Entity/ PhotosImage.php, line 286
Class
- PhotosImage
- Defines the photos image entity class.
Namespace
Drupal\photos\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}