You are here

public function ExtraFieldTypePluginBase::extraFieldPluginAjaxCallback in Entity Extra Field 8

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

Get extra field plugin ajax.

Parameters

array $form: An array of form elements.

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

Return value

array An array of form elements.

File

src/ExtraFieldTypePluginBase.php, line 188

Class

ExtraFieldTypePluginBase
Define extra field type plugin base.

Namespace

Drupal\entity_extra_field

Code

public function extraFieldPluginAjaxCallback(array $form, FormStateInterface $form_state) {
  return $form['field_type_config'];
}