function AliasRepositoryInterface::pathHasMatchingAlias

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

Check if any alias exists starting with $initial_substring.

Parameters

string $initial_substring: Initial system path substring to test against.

Return value

bool TRUE if any alias exists, FALSE otherwise.

File

core/modules/path_alias/src/AliasRepositoryInterface.php, line 79

Class

AliasRepositoryInterface
Provides an interface for path alias lookup operations.

Namespace

Drupal\path_alias

Code

public function pathHasMatchingAlias($initial_substring);

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