You are here

public function AliasTypeBatchUpdateInterface::batchUpdate in Pathauto 8

Gets called to batch update all entries.

Parameters

string $action: One of:

  • 'create' to generate a URL alias for paths having none.
  • 'update' to recreate the URL alias for paths already having one, useful if the pattern changed.
  • 'all' to do both actions above at the same time.

array $context: Batch context.

1 method overrides AliasTypeBatchUpdateInterface::batchUpdate()
EntityAliasTypeBase::batchUpdate in src/Plugin/pathauto/AliasType/EntityAliasTypeBase.php
Gets called to batch update all entries.

File

src/AliasTypeBatchUpdateInterface.php, line 22

Class

AliasTypeBatchUpdateInterface
Alias types that support batch updates and deletions.

Namespace

Drupal\pathauto

Code

public function batchUpdate($action, &$context);