function finder_admin_export in Finder 7
Same name and namespace in other branches
- 6 includes/finder.admin.inc \finder_admin_export()
Admin finder export page.
Set $return_code to TRUE to not return form but the code instead.
1 string reference to 'finder_admin_export'
- finder_menu in ./
finder.module - Implements hook_menu().
File
- includes/
finder.admin.inc, line 977 - The finder admin screens.
Code
function finder_admin_export($original_finder, $return_code = FALSE) {
$finder = clone $original_finder;
drupal_set_title(t('Export of !title', array(
'!title' => check_plain($finder->title),
)));
// Handle custom matching.
finder_admin_export_custom_matching($finder);
finder_invoke_finderapi($finder, 'finder_export');
$finder_code = finder_export($finder);
return $return_code ? $finder_code : drupal_get_form('finder_admin_export_form', $finder_code);
}