You are here

function pathauto_file_operations in File Entity (fieldable files) 7.2

Same name and namespace in other branches
  1. 7.3 file_entity.module \pathauto_file_operations()

Implements hook_file_operations() on behalf of pathauto.module.

File

./file_entity.module, line 2386
Extends Drupal file entities to be fieldable and viewable.

Code

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