function node_buttons_edit_variable_info in Node buttons edit 7
Implements hook_variable_info().
File
- ./
node_buttons_edit.module, line 70 - The the node buttons edit module.
Code
function node_buttons_edit_variable_info($options) {
$variables['node_buttons_edit_save_new_[node_type]'] = array(
'type' => 'multiple',
'title' => t('Save button title on new content', array(), $options),
'repeat' => array(
'type' => 'string',
'default' => 'Save',
),
);
$variables['node_buttons_edit_preview_new_[node_type]'] = array(
'type' => 'multiple',
'title' => t('Preview button title on new content', array(), $options),
'repeat' => array(
'type' => 'string',
'default' => 'Preview',
),
);
$variables['node_buttons_edit_save_edit_[node_type]'] = array(
'type' => 'multiple',
'title' => t('Save button title on existing content', array(), $options),
'repeat' => array(
'type' => 'string',
'default' => 'Save',
),
);
$variables['node_buttons_edit_preview_edit_[node_type]'] = array(
'type' => 'multiple',
'title' => t('Preview button title on existing content', array(), $options),
'repeat' => array(
'type' => 'string',
'default' => 'Preview',
),
);
$variables['node_buttons_edit_delete_edit_[node_type]'] = array(
'type' => 'multiple',
'title' => t('Delete button title on content', array(), $options),
'repeat' => array(
'type' => 'string',
'default' => 'Delete',
),
);
return $variables;
}