You are here

public function ScheduledUpdate::isArchived in Scheduled Updates 8

Determine whether the update is in an archived state.

Return value

bool

File

src/Entity/ScheduledUpdate.php, line 297
Contains \Drupal\scheduled_updates\Entity\ScheduledUpdate.

Class

ScheduledUpdate
Defines the Scheduled update entity.

Namespace

Drupal\scheduled_updates\Entity

Code

public function isArchived() {
  return $this->status->value === ScheduledUpdateInterface::STATUS_SUCCESSFUL || $this->status->value === ScheduledUpdateInterface::STATUS_UNSUCESSFUL;
}