You are here

public function LanguageNeutralAliasesStorage::delete in Language neutral aliases 8

Deletes a URL alias.

The default implementation performs case-insensitive matching on the 'source' and 'alias' strings.

Parameters

array $conditions: An array of criteria.

Overrides AliasStorage::delete

File

src/LanguageNeutralAliasesStorage.php, line 66

Class

LanguageNeutralAliasesStorage
Language neutral alias storage.

Namespace

Drupal\language_neutral_aliases

Code

public function delete($conditions) {
  $conditions['langcode'] = LanguageInterface::LANGCODE_NOT_SPECIFIED;
  return parent::delete($conditions);
}