upgraded to D10
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ class EntityReferenceLabelFormatterAjax extends EntityReferenceLabelFormatter {
|
||||
// link.
|
||||
if ($output_as_link && !$entity->isNew()) {
|
||||
try {
|
||||
$uri = $entity->urlInfo();
|
||||
$uri = $entity->toUrl();
|
||||
$options = $uri->getOptions();
|
||||
$options += array(
|
||||
'attributes' => array(
|
||||
|
||||
Reference in New Issue
Block a user