public function AliasUniquifierInterface::isReserved in Pathauto 8
Checks if an alias is reserved.
Parameters
string $alias: The alias.
string $source: The source.
string $langcode: (optional) The language code.
Return value
bool Returns TRUE if the alias is reserved.
1 method overrides AliasUniquifierInterface::isReserved()
- AliasUniquifier::isReserved in src/
AliasUniquifier.php - Checks if an alias is reserved.
File
- src/
AliasUniquifierInterface.php, line 41
Class
- AliasUniquifierInterface
- Provides an interface for alias uniquifiers.
Namespace
Drupal\pathautoCode
public function isReserved($alias, $source, $langcode = LanguageInterface::LANGCODE_NOT_SPECIFIED);