function AliasManager::pathAliasWhitelistRebuild

Same name in other branches
  1. 9 core/modules/path_alias/src/AliasManager.php \Drupal\path_alias\AliasManager::pathAliasWhitelistRebuild()
  2. 8.9.x core/lib/Drupal/Core/Path/AliasManager.php \Drupal\Core\Path\AliasManager::pathAliasWhitelistRebuild()
  3. 10 core/modules/path_alias/src/AliasManager.php \Drupal\path_alias\AliasManager::pathAliasWhitelistRebuild()

Rebuild the path alias prefix list.

Parameters

string $path: An optional path for which an alias is being inserted.

Deprecated

in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\path_alias\AliasManager::pathAliasPrefixListRebuild instead.

See also

https://www.drupal.org/node/3467559

File

core/modules/path_alias/src/AliasManager.php, line 264

Class

AliasManager
The default alias manager implementation.

Namespace

Drupal\path_alias

Code

protected function pathAliasWhitelistRebuild($path = NULL) {
    @trigger_error(__METHOD__ . '() is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. Use \\Drupal\\path_alias\\AliasManager::pathAliasPrefixListRebuild() instead. See https://www.drupal.org/node/3467559', E_USER_DEPRECATED);
    $this->pathAliasPrefixListRebuild($path);
}

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