You are here

public function AliasStorageInterface::pathHasMatchingAlias in Drupal 8

Check if any alias exists starting with $initial_substring.

Parameters

string $initial_substring: Initial path substring to test against.

Return value

bool TRUE if any alias exists, FALSE otherwise.

1 method overrides AliasStorageInterface::pathHasMatchingAlias()
AliasStorage::pathHasMatchingAlias in core/lib/Drupal/Core/Path/AliasStorage.php
Check if any alias exists starting with $initial_substring.

File

core/lib/Drupal/Core/Path/AliasStorageInterface.php, line 173

Class

AliasStorageInterface
Provides a class for CRUD operations on path aliases.

Namespace

Drupal\Core\Path

Code

public function pathHasMatchingAlias($initial_substring);