public function UpgradeStatusForm::exportReportASCII in Upgrade Status 8.2
Same name and namespace in other branches
- 8.3 src/Form/UpgradeStatusForm.php \Drupal\upgrade_status\Form\UpgradeStatusForm::exportReportASCII()
- 8 src/Form/UpgradeStatusForm.php \Drupal\upgrade_status\Form\UpgradeStatusForm::exportReportASCII()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
File
- src/
Form/ UpgradeStatusForm.php, line 844
Class
Namespace
Drupal\upgrade_status\FormCode
public function exportReportASCII(array &$form, FormStateInterface $form_state) {
$selected = $form_state
->getValues();
$form_state
->setResponse($this
->exportReport($selected, 'ascii'));
}