You are here

public function BackgroundImage::getCreatedTime in Background Image 8

Same name and namespace in other branches
  1. 2.x src/Entity/BackgroundImage.php \Drupal\background_image\Entity\BackgroundImage::getCreatedTime()
  2. 2.0.x src/Entity/BackgroundImage.php \Drupal\background_image\Entity\BackgroundImage::getCreatedTime()

File

src/Entity/BackgroundImage.php, line 298

Class

BackgroundImage
Defines the Background Image entity.

Namespace

Drupal\background_image\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}