function page_manager_handler_export in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 page_manager/page_manager.admin.inc \page_manager_handler_export()
Entry point to export a page.
1 string reference to 'page_manager_handler_export'
- page_manager_get_handler_operations in page_manager/
page_manager.admin.inc - Collect all the operations related to task handlers (variants) and build a menu.
File
- page_manager/
page_manager.admin.inc, line 1574 - Administrative functions for the page manager.
Code
function page_manager_handler_export(&$form, &$form_state) {
$export = page_manager_export_task_handler($form_state['handler']);
$lines = substr_count($export, "\n");
$form['code'] = array(
'#type' => 'textarea',
'#default_value' => $export,
'#rows' => $lines,
);
unset($form['buttons']);
}