You are here

public static function PhotosImage::getRequestTime in Album Photos 6.0.x

Same name and namespace in other branches
  1. 8.5 src/Entity/PhotosImage.php \Drupal\photos\Entity\PhotosImage::getRequestTime()
1 call to PhotosImage::getRequestTime()
PhotosImage::preSaveRevision in src/Entity/PhotosImage.php
Acts on a revision before it gets saved.

File

src/Entity/PhotosImage.php, line 478

Class

PhotosImage
Defines the photos image entity class.

Namespace

Drupal\photos\Entity

Code

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