function EntityAutocomplete::getFormId

Same name in other branches
  1. 8.x-1.x ajax_example/src/Form/EntityAutocomplete.php \Drupal\ajax_example\Form\EntityAutocomplete::getFormId()
  2. 4.0.x modules/ajax_example/src/Form/EntityAutocomplete.php \Drupal\ajax_example\Form\EntityAutocomplete::getFormId()

Overrides FormInterface::getFormId

File

modules/ajax_example/src/Form/EntityAutocomplete.php, line 63

Class

EntityAutocomplete
A simple autocomplete form which looks up usernames.

Namespace

Drupal\ajax_example\Form

Code

public function getFormId() {
    return 'ajax_example_autocomplete_user';
}