You are here

public static function FilterBaseForm::buildAjaxValueElement in Entity Share 8

Same name and namespace in other branches
  1. 8.3 modules/entity_share_server/src/Form/FilterBaseForm.php \Drupal\entity_share_server\Form\FilterBaseForm::buildAjaxValueElement()
  2. 8.2 modules/entity_share_server/src/Form/FilterBaseForm.php \Drupal\entity_share_server\Form\FilterBaseForm::buildAjaxValueElement()

Ajax callback.

Parameters

array $form: The form array.

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

Return value

array Subform.

File

modules/entity_share_server/src/Form/FilterBaseForm.php, line 53

Class

FilterBaseForm
Class FilterBaseForm.

Namespace

Drupal\entity_share_server\Form

Code

public static function buildAjaxValueElement(array $form, FormStateInterface $form_state) {

  // We just need to return the relevant part of the form here.
  return $form['value_wrapper'];
}