function boxes_edit in Boxes 7.2
Edit box page callback
1 string reference to 'boxes_edit'
- boxes_menu in ./
boxes.module - Implements hook_menu().
File
- includes/
boxes.pages.inc, line 11 - Box Functions
Code
function boxes_edit(Box $box) {
$type = boxes_fetch_plugin_info($box->type);
drupal_set_title(t('<em>Edit @type</em> @title', array(
'@type' => $type['label'],
'@title' => $box->label,
)), PASS_THROUGH);
return drupal_get_form('boxes_form', $box);
}