public function QueueStorageEntity::isFinished in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::isFinished()
- 8.8 modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::isFinished()
- 10.3.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::isFinished()
- 10.0.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::isFinished()
- 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\EntityCode
public function isFinished() {
return (bool) $this
->get('finished')->value;
}