public static function FilterBaseForm::buildAjaxValueElement in Entity Share 8.3
Same name and namespace in other branches
- 8 modules/entity_share_server/src/Form/FilterBaseForm.php \Drupal\entity_share_server\Form\FilterBaseForm::buildAjaxValueElement()
- 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 55
Class
- FilterBaseForm
- Base class for filter form.
Namespace
Drupal\entity_share_server\FormCode
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'];
}