3 namespace Drupal\pathauto;
6 * Alias types that support batch updates and deletions.
8 interface AliasTypeBatchUpdateInterface extends AliasTypeInterface {
11 * Gets called to batch update all entries.
13 * @param string $action
15 * - 'create' to generate a URL alias for paths having none.
16 * - 'update' to recreate the URL alias for paths already having one, useful if the pattern changed.
17 * - 'all' to do both actions above at the same time.
18 * @param array $context
21 public function batchUpdate($action, &$context);
24 * Gets called to batch delete all aliases created by pathauto.
26 * @param array $context
29 public function batchDelete(&$context);