public function AliasRepositoryInterface::pathHasMatchingAlias in Drupal 9
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/
modules/ path_alias/ src/ AliasRepository.php - Check if any alias exists starting with $initial_substring.
File
- core/
modules/ path_alias/ src/ AliasRepositoryInterface.php, line 79
Class
- AliasRepositoryInterface
- Provides an interface for path alias lookup operations.
Namespace
Drupal\path_aliasCode
public function pathHasMatchingAlias($initial_substring);