You are here

public function ConditionalFieldEditForm::ajaxAdminStateCallback in Conditional Fields 4.x

Same name and namespace in other branches
  1. 8 src/Form/ConditionalFieldEditForm.php \Drupal\conditional_fields\Form\ConditionalFieldEditForm::ajaxAdminStateCallback()

Ajax callback for effects list.

File

src/Form/ConditionalFieldEditForm.php, line 544

Class

ConditionalFieldEditForm
An edit form for conditional fields.

Namespace

Drupal\conditional_fields\Form

Code

public function ajaxAdminStateCallback(array $form, FormStateInterface $form_state) {
  return $form['entity_edit']['effects_wrapper'];
}