function AliasRepositoryInterface::pathHasMatchingAlias
Same name in other branches
- 9 core/modules/path_alias/src/AliasRepositoryInterface.php \Drupal\path_alias\AliasRepositoryInterface::pathHasMatchingAlias()
- 10 core/modules/path_alias/src/AliasRepositoryInterface.php \Drupal\path_alias\AliasRepositoryInterface::pathHasMatchingAlias()
- 11.x 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.
1 method overrides AliasRepositoryInterface::pathHasMatchingAlias()
- AliasRepository::pathHasMatchingAlias in core/
lib/ Drupal/ Core/ Path/ AliasRepository.php - Check if any alias exists starting with $initial_substring.
File
-
core/
lib/ Drupal/ Core/ Path/ AliasRepositoryInterface.php, line 74
Class
- AliasRepositoryInterface
- Provides an interface for path alias lookup operations.
Namespace
Drupal\Core\PathCode
public function pathHasMatchingAlias($initial_substring);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.