You are here

public function ImportEntity::getCreatedTime in Content Synchronizer 8.2

Same name and namespace in other branches
  1. 8 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

1 call to ImportEntity::getCreatedTime()
ImportEntity::preSave in src/Entity/ImportEntity.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/ImportEntity.php, line 128

Class

ImportEntity
Defines the Import entity.

Namespace

Drupal\content_synchronizer\Entity

Code

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