Skip to content
Snippets Groups Projects
Commit ad0a71a7 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #1643362 by swentel: Remove 'entity_type()' from Entity::uri()'s return.

parent 964c501e
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -191,7 +191,6 @@ public function uri($rel = 'canonical') {
// Pass the entity data to url() so that alter functions do not need to
// look up this entity again.
$uri['options']['entity_type'] = $this->entityType;
$uri['options']['entity'] = $this;
return $uri;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment