You are here

public static function SynonymForm::ajaxForm in Synonyms 8

Same name and namespace in other branches
  1. 2.0.x src/Form/SynonymForm.php \Drupal\synonyms\Form\SynonymForm::ajaxForm()

Ajax callback.

File

src/Form/SynonymForm.php, line 283

Class

SynonymForm
Entity form for 'synonym' config entity type.

Namespace

Drupal\synonyms\Form

Code

public static function ajaxForm(array &$form, FormStateInterface $form_state, Request $request) {
  return $form['ajax_wrapper'];
}