You are here

public function ShowForm::submitForm in Ubercart 8.4

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.

Overrides FormInterface::submitForm

File

uc_file/src/Form/ShowForm.php, line 199

Class

ShowForm
Displays all files that may be purchased and downloaded for administration.

Namespace

Drupal\uc_file\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {

  // Increment the form step.
  $form_state
    ->set('step', UC_FILE_FORM_ACTION);
  $form_state
    ->setRebuild();
}