public static function PathautoAdminDelete::batchProcess in Pathauto 8
Common batch processing callback for all operations.
File
- src/
Form/ PathautoAdminDelete.php, line 169
Class
- PathautoAdminDelete
- Alias mass delete form.
Namespace
Drupal\pathauto\FormCode
public static function batchProcess($id, &$context) {
/** @var \Drupal\pathauto\AliasTypeBatchUpdateInterface $alias_type */
$alias_type = \Drupal::service('plugin.manager.alias_type')
->createInstance($id);
$alias_type
->batchDelete($context);
}