EntityAutocomplete::$entityTypeManager
Same name in other branches
- 8.x-1.x ajax_example/src/Form/EntityAutocomplete.php \Drupal\ajax_example\Form\EntityAutocomplete::entityTypeManager
- 4.0.x modules/ajax_example/src/Form/EntityAutocomplete.php \Drupal\ajax_example\Form\EntityAutocomplete::entityTypeManager
The entity type manager service.
We need this for the submit handler.
Type: \Drupal\Core\Entity\EntityTypeManagerInterface
File
-
modules/
ajax_example/ src/ Form/ EntityAutocomplete.php, line 30
Class
- EntityAutocomplete
- A simple autocomplete form which looks up usernames.
Namespace
Drupal\ajax_example\FormCode
protected $entityTypeManager;