You are here

function fancy_file_delete_action_info in Fancy File Delete 7

Same name and namespace in other branches
  1. 8 fancy_file_delete.module \fancy_file_delete_action_info()

Implements hook_action_info().

File

./fancy_file_delete.module, line 101

Code

function fancy_file_delete_action_info() {
  return array(
    'fancy_file_delete_files' => array(
      'type' => 'entity',
      'label' => t('Delete Files'),
      'configurable' => FALSE,
      'pass rows' => TRUE,
      'permissions' => array(
        'administer fancy file delete',
      ),
    ),
    'fancy_file_delete_files_force' => array(
      'type' => 'entity',
      'label' => t('FORCE Delete Files (No Turning Back!)'),
      'configurable' => FALSE,
      'pass rows' => TRUE,
      'permissions' => array(
        'administer fancy file delete',
      ),
    ),
  );
}