You are here

function pathauto_node_operations in Pathauto 6.2

Same name and namespace in other branches
  1. 5.2 pathauto.module \pathauto_node_operations()
  2. 6 pathauto.module \pathauto_node_operations()
  3. 7 pathauto.module \pathauto_node_operations()

Implements hook_node_operations().

File

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

Code

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