Url::getInternalPath

public function Url::getInternalPath

public Url::getInternalPath()

Returns the internal path (system path) for this route.

This path will not include any prefixes, fragments, or query strings.

Return value

string The internal path for this route.

Throws

\UnexpectedValueException. If this is a URI with no corresponding system path.

File

core/lib/Drupal/Core/Url.php, line 766

Class

Url
Defines an object that holds information about a URL.

Namespace

登录查看完整内容