You are here

public function StatusOverviewForm::submitForm in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Form/StatusOverviewForm.php \Drupal\brightcove\Form\StatusOverviewForm::submitForm()
  2. 3.x src/Form/StatusOverviewForm.php \Drupal\brightcove\Form\StatusOverviewForm::submitForm()

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

src/Form/StatusOverviewForm.php, line 146

Class

StatusOverviewForm
Class StatusOverviewForm.

Namespace

Drupal\brightcove\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  if ($triggering_element = $form_state
    ->getTriggeringElement()) {
    BrightcoveUtil::runStatusQueues($triggering_element['#name'], $this->queueFactory);
  }
}