function PathChangedHelper::newPath
Returns the updated path.
Return value
string The internal path of the new URL.
File
-
core/
lib/ Drupal/ Core/ Routing/ PathChangedHelper.php, line 96
Class
- PathChangedHelper
- Provides helper functions for handling path changes.
Namespace
Drupal\Core\RoutingCode
public function newPath() : string {
return $this->newUrl
->getInternalPath();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.