protected AliasManager::pathAliasWhitelistRebuild($path = NULL)
Rebuild the path alias white list.
string $path: An optional path for which an alias is being inserted.
An array containing a white list of path aliases.
protected function pathAliasWhitelistRebuild($path = NULL) { // When paths are inserted, only rebuild the whitelist if the path has a top // level component which is not already in the whitelist. if (!empty($path)) { if ($this->whitelist->get(strtok($path, '/'))) { return; } } $this->whitelist->clear(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Path!AliasManager.php/function/AliasManager::pathAliasWhitelistRebuild/8.1.x