Issue #3309719 by solideogloria: Incorrect namespace in comment in EntityAutocomplete.php

merge-requests/2776/head
xjm 2022-09-21 16:04:39 +02:00
parent 7f72278edc
commit a1b6953f4c
No known key found for this signature in database
GPG Key ID: 206B0B8743BDF4C2
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class EntityAutocomplete extends Textfield {
'target_type' => $element['#target_type'],
'handler' => $element['#selection_handler'],
];
/** @var /Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface $handler */
/** @var \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface $handler */
$handler = \Drupal::service('plugin.manager.entity_reference_selection')->getInstance($options);
$autocreate = (bool) $element['#autocreate'] && $handler instanceof SelectionWithAutocreateInterface;