public function ExtraFieldTypePluginBase::extraFieldPluginAjaxCallback in Entity Extra Field 2.0.x
Same name and namespace in other branches
- 8 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 191
Class
- ExtraFieldTypePluginBase
- Define extra field type plugin base.
Namespace
Drupal\entity_extra_fieldCode
public function extraFieldPluginAjaxCallback(array $form, FormStateInterface $form_state) : array {
return $form['field_type_config'];
}