You are here

public static function Media::getRequestTime in Drupal 8

Same name and namespace in other branches
  1. 9 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 529

Class

Media
Defines the media entity class.

Namespace

Drupal\media\Entity

Code

public static function getRequestTime() {
  return \Drupal::time()
    ->getRequestTime();
}