public function UpgradeStatusForm::exportReportHTML in Upgrade Status 8
Same name and namespace in other branches
- 8.2 src/Form/UpgradeStatusForm.php \Drupal\upgrade_status\Form\UpgradeStatusForm::exportReportHTML()
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 424
Class
Namespace
Drupal\upgrade_status\FormCode
public function exportReportHTML(array &$form, FormStateInterface $form_state) {
$selected = $form_state
->getValues();
$form_state
->setResponse($this
->exportReport($selected, 'html'));
}