You are here

public static function FormManglerService::staticHandleFormSubmit in Token Content Access 8

Same name and namespace in other branches
  1. 2.0.x src/FormManglerService.php \Drupal\tca\FormManglerService::staticHandleFormSubmit()

Handle general aspects of TCA form submission.

(Not specific to node etc.).

Parameters

array $form: The form.

string|int|object $form_state: The form state.

File

src/FormManglerService.php, line 320

Class

FormManglerService
Class FormManglerService.

Namespace

Drupal\tca

Code

public static function staticHandleFormSubmit(array $form, $form_state) {
  \Drupal::service('tca.form_mangler')
    ->handleFormSubmit($form, $form_state);
}