You are here

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

Code

public function setFinished($status) {
  $this
    ->set('finished', $status);
  return $this;
}