You are here

public function ImportEntity::getCreatedTime in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::getCreatedTime()
  2. 3.x src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::getCreatedTime()

Gets the Import creation timestamp.

Return value

int Creation timestamp of the Import.

Overrides ImportEntityInterface::getCreatedTime

File

src/Entity/ImportEntity.php, line 124

Class

ImportEntity
Defines the Import entity.

Namespace

Drupal\content_synchronizer\Entity

Code

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