You are here

public function CmisQueryForm::ajaxGetResult in CMIS API 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Form/CmisQueryForm.php \Drupal\cmis\Form\CmisQueryForm::ajaxGetResult()
  2. 8 src/Form/CmisQueryForm.php \Drupal\cmis\Form\CmisQueryForm::ajaxGetResult()

Submit button ajax callback.

Parameters

array $form: The form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form state object.

Return value

array Subform.

File

src/Form/CmisQueryForm.php, line 209

Class

CmisQueryForm
Class CmisQueryForm.

Namespace

Drupal\cmis\Form

Code

public function ajaxGetResult(array &$form, FormStateInterface $form_state) {
  return $form['result'];
}