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