You are here

public function LingotekMetadataEditForm::getLingotekStatusesOptions in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  2. 4.0.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  3. 3.0.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  4. 3.1.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  5. 3.2.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  6. 3.3.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  7. 3.4.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  8. 3.5.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  9. 3.6.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  10. 3.7.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
  11. 3.8.x src/Form/LingotekMetadataEditForm.php \Drupal\lingotek\Form\LingotekMetadataEditForm::getLingotekStatusesOptions()
1 call to LingotekMetadataEditForm::getLingotekStatusesOptions()
LingotekMetadataEditForm::buildForm in src/Form/LingotekMetadataEditForm.php
Form constructor.

File

src/Form/LingotekMetadataEditForm.php, line 196

Class

LingotekMetadataEditForm

Namespace

Drupal\lingotek\Form

Code

public function getLingotekStatusesOptions() {
  return [
    Lingotek::STATUS_CURRENT => $this
      ->t('Current'),
    Lingotek::STATUS_EDITED => $this
      ->t('Edited'),
    Lingotek::STATUS_IMPORTING => $this
      ->t('Importing'),
    Lingotek::STATUS_PENDING => $this
      ->t('Pending'),
    Lingotek::STATUS_READY => $this
      ->t('Ready'),
    Lingotek::STATUS_REQUEST => $this
      ->t('Request'),
    Lingotek::STATUS_UNTRACKED => $this
      ->t('Untracked'),
  ];
}