public function AliasRepositoryInterface::pathHasMatchingAlias in Drupal 8
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);