public function MediaGalleryInterface::setCreatedTime in Media Gallery 8
Sets the media gallery creation timestamp.
Parameters
int $timestamp: The media gallery creation timestamp.
Return value
\Drupal\media_gallery\MediaGalleryInterface The called media gallery entity.
1 method overrides MediaGalleryInterface::setCreatedTime()
- MediaGallery::setCreatedTime in src/
Entity/ MediaGallery.php - Sets the media gallery creation timestamp.
File
- src/
MediaGalleryInterface.php, line 50
Class
- MediaGalleryInterface
- Provides an interface defining a media gallery entity type.
Namespace
Drupal\media_galleryCode
public function setCreatedTime($timestamp);