function PathAlias::setPath
Same name in other branches
- 9 core/modules/path_alias/src/Entity/PathAlias.php \Drupal\path_alias\Entity\PathAlias::setPath()
- 8.9.x core/modules/path_alias/src/Entity/PathAlias.php \Drupal\path_alias\Entity\PathAlias::setPath()
- 10 core/modules/path_alias/src/Entity/PathAlias.php \Drupal\path_alias\Entity\PathAlias::setPath()
Overrides PathAliasInterface::setPath
File
-
core/
modules/ path_alias/ src/ Entity/ PathAlias.php, line 140
Class
- PathAlias
- Defines the path_alias entity class.
Namespace
Drupal\path_alias\EntityCode
public function setPath($path) {
$this->set('path', $path);
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.