function Media::getRequestTime
Same name in other branches
- 8.9.x core/modules/media/src/Entity/Media.php \Drupal\media\Entity\Media::getRequestTime()
- 10 core/modules/media/src/Entity/Media.php \Drupal\media\Entity\Media::getRequestTime()
- 11.x core/modules/media/src/Entity/Media.php \Drupal\media\Entity\Media::getRequestTime()
1 call to Media::getRequestTime()
- Media::preSaveRevision in core/
modules/ media/ src/ Entity/ Media.php - Acts on a revision before it gets saved.
File
-
core/
modules/ media/ src/ Entity/ Media.php, line 573
Class
- Media
- Defines the media entity class.
Namespace
Drupal\media\EntityCode
public static function getRequestTime() {
return \Drupal::time()->getRequestTime();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.