You are here

public function AliasStorageHelperInterface::deleteEntityPathAll in Pathauto 8

Delete an entity URL alias and any of its sub-paths.

This function also checks to see if the default entity URI is different from the current entity URI and will delete any of the default aliases.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: An entity object.

string $default_uri: The optional default uri path for the entity.

1 method overrides AliasStorageHelperInterface::deleteEntityPathAll()
AliasStorageHelper::deleteEntityPathAll in src/AliasStorageHelper.php
Delete an entity URL alias and any of its sub-paths.

File

src/AliasStorageHelperInterface.php, line 89

Class

AliasStorageHelperInterface
Provides helper methods for accessing alias storage.

Namespace

Drupal\pathauto

Code

public function deleteEntityPathAll(EntityInterface $entity, $default_uri = NULL);