function tablefield_permission in TableField 7.3
Same name and namespace in other branches
- 7.2 tablefield.module \tablefield_permission()
Implements hook_permission().
File
- ./
tablefield.module, line 64 - Provides a set of fields that can be used to store tabular data with a node.
Code
function tablefield_permission() {
return array(
'export tablefield' => array(
'title' => t('Export Tablefield Data as CSV'),
'description' => t('Acts in addition to the field widget settings (AND).'),
),
'always use additional datasources' => array(
'title' => t('Always allow additional data sources to be used (CSV upload or copy/paste)'),
'description' => t('Overrides the field widget settings (OR).'),
),
'rebuild tablefield' => array(
'title' => t('Rebuild any tablefield'),
'description' => t('Overrides the field widget settings (OR).'),
),
'configure tablefield' => array(
'title' => t('Allow changes in the global tablefield module configuration'),
),
);
}