function skinr_ui_edit in Skinr 7.2
Same name and namespace in other branches
- 6.2 skinr_ui.module \skinr_ui_edit()
Menu callback; prepares some variables and displays a Skinr edit form.
Parameters
$module: The module that we're editing settings of.
$element: The element of the object we're editing settings of.
1 string reference to 'skinr_ui_edit'
- skinr_ui_menu in ./
skinr_ui.module - Implements hook_menu().
File
- ./
skinr_ui.edit.inc, line 17 - Page callbacks for the Skinr UI module related to editing skins.
Code
function skinr_ui_edit($module, $element) {
$defaults = skinr_ui_form_get_defaults($module, $element);
return drupal_get_form('skinr_ui_form', array(
'module' => $module,
'element' => $element,
), $defaults);
}