protected function LingotekSettingsTabProfilesEditForm::retrieveProfileVaults in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 4.0.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 3.0.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 3.1.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 3.2.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 3.3.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 3.4.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 3.5.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 3.6.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 3.7.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- 3.8.x src/Form/LingotekSettingsTabProfilesEditForm.php \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
1 call to LingotekSettingsTabProfilesEditForm::retrieveProfileVaults()
- LingotekSettingsTabProfilesEditForm::buildForm in src/
Form/ LingotekSettingsTabProfilesEditForm.php - Form constructor.
File
- src/
Form/ LingotekSettingsTabProfilesEditForm.php, line 170 - Contains \Drupal\lingotek\Form\LingotekSettingsTabProfilesEditForm.
Class
- LingotekSettingsTabProfilesEditForm
- Configure Lingotek
Namespace
Drupal\lingotek\FormCode
protected function retrieveProfileVaults() {
$personal_vault = [];
$personal_vault_key = $this->lingotek
->get('default.vault');
$community_vault = $this->lingotek
->get('account.resources.vault');
if (isset($community_vault[$personal_vault_key])) {
$personal_vault = array(
$personal_vault_key => $community_vault[$personal_vault_key],
);
}
$this->profile_vaults = array(
'Personal Vaults' => $personal_vault,
'Community Vaults' => $community_vault,
);
}