function AliasStorageInterface::pathHasMatchingAlias

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);

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