You are here

public function AjaxPageControllerBase::processForm in Forena Reports 8

Processes the form based on a form_id

Parameters

string $form_id:

1 call to AjaxPageControllerBase::processForm()
AjaxPageControllerBase::processFormRequest in src/Controller/AjaxPageControllerBase.php
Process the post requests for an action.

File

src/Controller/AjaxPageControllerBase.php, line 340

Class

AjaxPageControllerBase

Namespace

Drupal\forena\Controller

Code

public function processForm($form_id) {
  switch ($form_id) {
    case ReportModalForm::FORM_ID:
      $this
        ->getModalForm('main', ReportModalForm::class, '');
  }
}