You are here

public function GatsbyLogEntity::getCreatedTime in Gatsby Live Preview & Incremental Builds 8

Same name and namespace in other branches
  1. 2.0.x modules/gatsby_fastbuilds/src/Entity/GatsbyLogEntity.php \Drupal\gatsby_fastbuilds\Entity\GatsbyLogEntity::getCreatedTime()

Gets the Gatsby log entity creation timestamp.

Return value

int Creation timestamp of the Gatsby log entity.

Overrides GatsbyLogEntityInterface::getCreatedTime

File

modules/gatsby_fastbuilds/src/Entity/GatsbyLogEntity.php, line 55

Class

GatsbyLogEntity
Defines the Gatsby log entity entity.

Namespace

Drupal\gatsby_fastbuilds\Entity

Code

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