You are here

public function QueueStorageEntity::getCreatedTime in Open Social 10.1.x

Same name and namespace in other branches
  1. 8.9 modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getCreatedTime()
  2. 8.8 modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getCreatedTime()
  3. 10.3.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getCreatedTime()
  4. 10.0.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getCreatedTime()
  5. 10.2.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::getCreatedTime()

Gets the Queue storage entity creation timestamp.

Return value

int Creation timestamp of the Queue storage entity.

Overrides QueueStorageEntityInterface::getCreatedTime

File

modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php, line 103

Class

QueueStorageEntity
Defines the Queue storage entity entity.

Namespace

Drupal\social_queue_storage\Entity

Code

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