protected property EntityAutocomplete::$entityTypeManager in Examples for Developers 8
Same name and namespace in other branches
- 3.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
- 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;