You are here

protected function EntityAliasTypeBase::bulkDelete in Pathauto 8

Deletes the URL aliases for multiple entities.

Parameters

int[] $pids_by_id: A list of path IDs keyed by entity ID.

Deprecated

Use \Drupal\pathauto\PathautoState::bulkDelete() instead.

File

src/Plugin/pathauto/AliasType/EntityAliasTypeBase.php, line 300

Class

EntityAliasTypeBase
A pathauto alias type plugin for entities with canonical links.

Namespace

Drupal\pathauto\Plugin\pathauto\AliasType

Code

protected function bulkDelete(array $pids_by_id) {
  PathautoState::bulkDelete($this
    ->getEntityTypeId(), $pids_by_id);
}