protected function LingotekSettingsTabContentForm::retrieveProfileOptions in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8 src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 8.2 src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 4.0.x src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 3.0.x src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 3.1.x src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 3.2.x src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 3.3.x src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 3.4.x src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 3.6.x src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 3.7.x src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
- 3.8.x src/Form/LingotekSettingsTabContentForm.php \Drupal\lingotek\Form\LingotekSettingsTabContentForm::retrieveProfileOptions()
1 call to LingotekSettingsTabContentForm::retrieveProfileOptions()
- LingotekSettingsTabContentForm::buildForm in src/
Form/ LingotekSettingsTabContentForm.php - Form constructor.
File
- src/
Form/ LingotekSettingsTabContentForm.php, line 260
Class
- LingotekSettingsTabContentForm
- Configure Lingotek
Namespace
Drupal\lingotek\FormCode
protected function retrieveProfileOptions() {
$this->profiles = \Drupal::entityTypeManager()
->getListBuilder('lingotek_profile')
->load();
foreach ($this->profiles as $profile) {
$this->profile_options[$profile
->id()] = $profile
->label();
}
}