public function PathAliasInterface::setPath in Drupal 10
Same name and namespace in other branches
- 8 core/modules/path_alias/src/PathAliasInterface.php \Drupal\path_alias\PathAliasInterface::setPath()
- 9 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);