You are here

public function AliasStorageHelperInterface::save in Pathauto 8

Private function for Pathauto to create an alias.

Parameters

array $path: An associative array containing the following keys:

  • source: The internal system path.
  • alias: The URL alias.
  • pid: (optional) Unique path alias identifier.
  • language: (optional) The language of the alias.

array|bool|null $existing_alias: (optional) An associative array of the existing path alias.

string $op: An optional string with the operation being performed.

Return value

array|bool The saved path or NULL if the path was not saved.

1 method overrides AliasStorageHelperInterface::save()
AliasStorageHelper::save in src/AliasStorageHelper.php
Private function for Pathauto to create an alias.

File

src/AliasStorageHelperInterface.php, line 42

Class

AliasStorageHelperInterface
Provides helper methods for accessing alias storage.

Namespace

Drupal\pathauto

Code

public function save(array $path, $existing_alias = NULL, $op = NULL);