function PathAliasInterface::setPath
Same name in other branches
- 8.9.x core/modules/path_alias/src/PathAliasInterface.php \Drupal\path_alias\PathAliasInterface::setPath()
- 10 core/modules/path_alias/src/PathAliasInterface.php \Drupal\path_alias\PathAliasInterface::setPath()
- 11.x core/modules/path_alias/src/PathAliasInterface.php \Drupal\path_alias\PathAliasInterface::setPath()
Sets the source path of the alias.
Parameters
string $path: The source path.
Return value
$this
1 method overrides PathAliasInterface::setPath()
- PathAlias::setPath in core/
modules/ path_alias/ src/ Entity/ PathAlias.php - Sets the source path of the alias.
File
-
core/
modules/ path_alias/ src/ PathAliasInterface.php, line 29
Class
- PathAliasInterface
- Provides an interface defining a path_alias entity.
Namespace
Drupal\path_aliasCode
public function setPath($path);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.