You are here

public function AliasStorageInterface::pathHasMatchingAlias in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Path/AliasStorageInterface.php \Drupal\Core\Path\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 171
Contains \Drupal\Core\Path\AliasStorageInterface.

Class

AliasStorageInterface
Provides a class for CRUD operations on path aliases.

Namespace

Drupal\Core\Path

Code

public function pathHasMatchingAlias($initial_substring);