You are here

public function QueueStorageEntity::isFinished in Open Social 10.2.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::isFinished()
  2. 8.8 modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::isFinished()
  3. 10.3.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::isFinished()
  4. 10.0.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::isFinished()
  5. 10.1.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::isFinished()

Get the status of the entity.

Return value

bool Status of the entity.

Overrides QueueStorageEntityInterface::isFinished

File

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

Class

QueueStorageEntity
Defines the Queue storage entity entity.

Namespace

Drupal\social_queue_storage\Entity

Code

public function isFinished() {
  return (bool) $this
    ->get('finished')->value;
}