You are here

public function UpgradeStatusForm::exportReportHTML in Upgrade Status 8.2

Same name and namespace in other branches
  1. 8 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 831

Class

UpgradeStatusForm

Namespace

Drupal\upgrade_status\Form

Code

public function exportReportHTML(array &$form, FormStateInterface $form_state) {
  $selected = $form_state
    ->getValues();
  $form_state
    ->setResponse($this
    ->exportReport($selected, 'html'));
}