public function QueueStorageEntity::setFinished in Open Social 10.1.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::setFinished()
- 8.8 modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::setFinished()
- 10.3.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::setFinished()
- 10.0.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::setFinished()
- 10.2.x modules/custom/social_queue_storage/src/Entity/QueueStorageEntity.php \Drupal\social_queue_storage\Entity\QueueStorageEntity::setFinished()
Sets the Queue storage entity status.
Parameters
bool $status: The Queue storage entity status.
Return value
\Drupal\social_queue_storage\Entity\QueueStorageEntityInterface The called Queue storage entity entity.
Overrides QueueStorageEntityInterface::setFinished
File
- modules/
custom/ social_queue_storage/ src/ Entity/ QueueStorageEntity.php, line 155
Class
- QueueStorageEntity
- Defines the Queue storage entity entity.
Namespace
Drupal\social_queue_storage\EntityCode
public function setFinished($status) {
$this
->set('finished', $status);
return $this;
}