public function FilterBaseForm::addRemoveCallback in Entity Share 8
Same name and namespace in other branches
- 8.3 modules/entity_share_server/src/Form/FilterBaseForm.php \Drupal\entity_share_server\Form\FilterBaseForm::addRemoveCallback()
- 8.2 modules/entity_share_server/src/Form/FilterBaseForm.php \Drupal\entity_share_server\Form\FilterBaseForm::addRemoveCallback()
Ajax callback for both ajax-enabled buttons.
Selects and returns the fieldset with the names in it.
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 71
Class
- FilterBaseForm
- Class FilterBaseForm.
Namespace
Drupal\entity_share_server\FormCode
public function addRemoveCallback(array &$form, FormStateInterface $form_state) {
return $form['value_wrapper'];
}