Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PathAliasInterface.php

function 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_alias

Code

public function setPath($path);
RSS feed
Powered by Drupal