You are here

public function EntityExtraFieldForm::entityExtraFieldAjax in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x src/Form/EntityExtraFieldForm.php \Drupal\entity_extra_field\Form\EntityExtraFieldForm::entityExtraFieldAjax()

Ajax callback for entity extra field.

Parameters

array $form: An array of form elements.

\Drupal\Core\Form\FormStateInterface $form_state: A form state instance.

Return value

array An array of the form elements.

File

src/Form/EntityExtraFieldForm.php, line 256

Class

EntityExtraFieldForm
Define entity extra field form.

Namespace

Drupal\entity_extra_field\Form

Code

public function entityExtraFieldAjax(array $form, FormStateInterface $form_state) {
  return $form;
}