Revision 5264445c
Added by Lorna Morris about 12 years ago
7.x/modules/dwca_export/dwca_export.module | ||
---|---|---|
516 | 516 |
|
517 | 517 |
_dwca_export_archive_descriptor_file_map($output_file, $temp_file); |
518 | 518 |
|
519 |
} |
|
520 |
|
|
521 |
function dwca_export_permission() { |
|
522 |
return array( |
|
523 |
'administer dwca-export' => array( |
|
524 |
'title' => t('Access dwca-export'), |
|
525 |
'description' => t('Allows user to access DwC-A export configuration page and execute export of the DwC-A data.'), |
|
526 |
)); |
|
519 | 527 |
} |
Also available in: Unified diff
implmented hook_permission to enable permission for the module to be set.