function Media::getCreatedTime
Same name in other branches
- 8.9.x core/modules/media/src/Entity/Media.php \Drupal\media\Entity\Media::getCreatedTime()
- 10 core/modules/media/src/Entity/Media.php \Drupal\media\Entity\Media::getCreatedTime()
- 11.x core/modules/media/src/Entity/Media.php \Drupal\media\Entity\Media::getCreatedTime()
Overrides MediaInterface::getCreatedTime
File
-
core/
modules/ media/ src/ Entity/ Media.php, line 122
Class
- Media
- Defines the media entity class.
Namespace
Drupal\media\EntityCode
public function getCreatedTime() {
return $this->get('created')->value;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.