public function LingotekSettingsTabUtilitiesForm::refreshResources in Lingotek Translation 3.3.x
Same name and namespace in other branches
- 8 src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 8.2 src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 4.0.x src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 3.0.x src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 3.1.x src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 3.2.x src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 3.4.x src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 3.5.x src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 3.6.x src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 3.7.x src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
- 3.8.x src/Form/LingotekSettingsTabUtilitiesForm.php \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm::refreshResources()
Submit handler for refreshing the resources: projects, workflows, vaults, and filters.
File
- src/
Form/ LingotekSettingsTabUtilitiesForm.php, line 163
Class
- LingotekSettingsTabUtilitiesForm
- Tab for running Lingotek utilities in the settings page.
Namespace
Drupal\lingotek\FormCode
public function refreshResources() {
$resources = $this->lingotek
->getResources(TRUE);
$this
->messenger()
->addStatus($this
->t('Project, workflow, vault, and filter information have been refreshed.'));
}