function PathAliasInterface::setPath

Same name and namespace in other branches
  1. 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

File

core/modules/path_alias/src/PathAliasInterface.php, line 29

Class

PathAliasInterface
Provides an interface defining a path_alias entity.

Namespace

Drupal\path_alias

Code

public function setPath($path);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.