You are here

function pathauto_user_operations in Pathauto 7

Same name and namespace in other branches
  1. 6.2 pathauto.module \pathauto_user_operations()
  2. 6 pathauto.module \pathauto_user_operations()

Implements hook_user_operations().

File

./pathauto.module, line 1047
Main file for the Pathauto module, which automatically generates aliases for content.

Code

function pathauto_user_operations() {
  $operations['pathauto_update_alias'] = array(
    'label' => t('Update URL alias'),
    'callback' => 'pathauto_user_update_alias_multiple',
    'callback arguments' => array(
      'bulkupdate',
      array(
        'message' => TRUE,
      ),
    ),
  );
  return $operations;
}