You are here

function file_entity_file_operations_info in File Entity (fieldable files) 7

Implements hook_file_operations_info().

File

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

Code

function file_entity_file_operations_info() {
  $operations = array(
    'delete' => array(
      'label' => t('Delete selected files'),
      'callback' => 'file_entity_multiple_delete_confirm_operation',
      'confirm' => TRUE,
    ),
  );
  return $operations;
}