function delta_layout_configure in Delta 7.2
delta_template_configure function.
@access public
Parameters
mixed $form:
mixed &$form_state:
mixed $layout. (default: FALSE):
Return value
void
1 string reference to 'delta_layout_configure'
- delta_ui_menu in ./
delta_ui.module - Implementation of hook_menu().
File
- ./
delta_ui.admin.inc, line 257 - Delta UI functionality
Code
function delta_layout_configure($form, &$form_state, $layout = FALSE) {
if ($layout) {
$data = delta_get_layout_data($layout);
drupal_set_title(t('Editing ' . $data['name']));
}
if (isset($data['theme'])) {
$form = delta_load_theme_settings_callback($data['theme'], $layout);
$form['#submit'] = array(
'delta_ui_layout_configure_submit',
);
$form['#validate'] = array(
'delta_ui_layout_configure_validate',
);
$form['actions'] = array(
'#type' => 'actions',
);
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Save Layout'),
);
return $form;
}
return 'Error Loading Theme Settings form...';
}