public function MediaGallery::getCreatedTime in Media Gallery 8
Gets the media gallery creation timestamp.
Return value
int Creation timestamp of the media gallery.
Overrides MediaGalleryInterface::getCreatedTime
File
- src/
Entity/ MediaGallery.php, line 104
Class
- MediaGallery
- Defines the media gallery entity class.
Namespace
Drupal\media_gallery\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}