You are here

public function ImportEntity::getCreatedTime in Content Synchronizer 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::getCreatedTime()
  2. 8 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 141

Class

ImportEntity
Defines the Import entity.

Namespace

Drupal\content_synchronizer\Entity

Code

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