You are here

public static function MaestroEngine::getTaskArchiveArray in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Engine/MaestroEngine.php \Drupal\maestro\Engine\MaestroEngine::getTaskArchiveArray()

Fetches the task archival status values in an associative array where the key is the archival status ID and the value is the translated string.

1 call to MaestroEngine::getTaskArchiveArray()
MaestroTrace::buildForm in src/Form/MaestroTrace.php
This is the trace form. Quite complex.

File

src/Engine/MaestroEngine.php, line 815

Class

MaestroEngine
Class MaestroEngine.

Namespace

Drupal\maestro\Engine

Code

public static function getTaskArchiveArray() {
  $arr = [];
  $arr[TASK_ARCHIVE_ACTIVE] = t('Active');
  $arr[TASK_ARCHIVE_NORMAL] = t('Archived');
  $arr[TASK_ARCHIVE_REGEN] = t('Regenerated');
  return $arr;
}