function _noderelationships_admin_theme_form_alter in Node Relationships 6
Alter admin theme settings form.
1 call to _noderelationships_admin_theme_form_alter()
- noderelationships_form_alter in ./
noderelationships.module - Implementation of hook_form_alter().
File
- ./
noderelationships.admin.inc, line 987 - Implementation of the administration pages of the module.
Code
function _noderelationships_admin_theme_form_alter(&$form) {
$form['noderelationships_admin_theme_children'] = array(
'#type' => 'checkbox',
'#title' => t('Use administration theme for Node Relationships pages'),
'#description' => t('Use the administration theme for the Node Relationships pages rendered in modal frames for features such as "Search and reference", "Create and reference", etc.'),
'#default_value' => variable_get('noderelationships_admin_theme_children', '0'),
);
// Move submit buttons to the bottom of the form.
// Note: this method used also by Theme Settings API.
$form['buttons']['#weight'] = 1;
}