You are here

public function Form::submitForm in Cheeseburger Menu 8

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/workForm/Form.php, line 41
Contains \Drupal\cheeseburger_menu\workForm.

Class

Form

Namespace

Drupal\cheeseburger_menu\workForm

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  drupal_set_message($this
    ->t('@emp_name ,Your application is being submitted!', array(
    '@emp_name' => $form_state
      ->getValue('employee_name'),
  )));
}