Skip to content
Snippets Groups Projects
Verified Commit bcc0c000 authored by Jess's avatar Jess
Browse files

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

parent 7c561563
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ public static function validateEntityAutocomplete(array &$element, FormStateInte
'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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment