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