function fancy_file_delete_action_info in Fancy File Delete 8
Same name and namespace in other branches
- 7 fancy_file_delete.module \fancy_file_delete_action_info()
Implements hook_action_info().
File
- ./
fancy_file_delete.module, line 62
Code
function fancy_file_delete_action_info() {
return [
'fancy_file_delete_files' => [
'type' => 'entity',
'label' => t('Delete Files'),
'configurable' => FALSE,
'pass rows' => TRUE,
'permissions' => [
'administer fancy file delete',
],
],
'fancy_file_delete_files_force' => [
'type' => 'entity',
'label' => t('FORCE Delete Files (No Turning Back!)'),
'configurable' => FALSE,
'pass rows' => TRUE,
'permissions' => [
'administer fancy file delete',
],
],
];
}