protected static Url::fromEntityUri(array $uri_parts, array $options, $uri)
Create a new Url object for entity URIs.
Parameters
array $uri_parts: Parts from an URI of the form entity:{entity_type}/{entity_id} as from parse_url().
array $options: An array of options, see \Drupal\Core\Url::fromUri() for details.
string $uri: The original entered URI.
Return value
\Drupal\Core\Url A new Url object for an entity's canonical route.
Throws
\InvalidArgumentException Thrown if the entity URI is inva