Issue #3327950 by xjm, longwave: Remove last remaining list() from core
(cherry picked from commit 8a90cc9d39
)
merge-requests/3173/head
parent
2a2f7195d8
commit
a86978246e
|
@ -72,7 +72,7 @@ class LinkWidget extends WidgetBase {
|
||||||
$displayable_string = $uri_reference;
|
$displayable_string = $uri_reference;
|
||||||
}
|
}
|
||||||
elseif ($scheme === 'entity') {
|
elseif ($scheme === 'entity') {
|
||||||
list($entity_type, $entity_id) = explode('/', substr($uri, 7), 2);
|
[$entity_type, $entity_id] = explode('/', substr($uri, 7), 2);
|
||||||
// Show the 'entity:' URI as the entity autocomplete would.
|
// Show the 'entity:' URI as the entity autocomplete would.
|
||||||
// @todo Support entity types other than 'node'. Will be fixed in
|
// @todo Support entity types other than 'node'. Will be fixed in
|
||||||
// https://www.drupal.org/node/2423093.
|
// https://www.drupal.org/node/2423093.
|
||||||
|
|
Loading…
Reference in New Issue