You are here

public function MerciConfigureAction::buildForm in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

File

modules/merci_line_item/src/Form/MerciConfigureAction.php, line 22

Class

MerciConfigureAction
Action configuration form.

Namespace

Drupal\merci_line_item\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $view_id = NULL, $display_id = NULL) {
  $form = parent::buildForm($form, $form_state, $view_id, $display_id);
  $form['actions']['cancel']['#submit'][] = [
    $this,
    'cancelFormData',
  ];
  return $form;
}