Implements \Drupal\Core\Routing\PathBasedGeneratorInterface::setScriptPath().
Overrides PathBasedGeneratorInterface::setScriptPath
File
- drupal/core/lib/Drupal/Core/Routing/UrlGenerator.php, line 325
- Contains Drupal\Core\Routing\UrlGenerator.
Class
- UrlGenerator
- A Generator creates URL strings based on a specified route.
Namespace
Drupal\Core\Routing
Code
public function setScriptPath($path) {
$this->scriptPath = $path;
}