You are here

function finder_export in Finder 7.2

Same name and namespace in other branches
  1. 6 finder.module \finder_export()
  2. 7 finder.module \finder_export()

Export CRUD callback to export a finder.

Parameters

&$finder: The finder object.

$indent: The indent param to pass to ctools_export_object().

Return value

The return value of ctools_export_object().

1 string reference to 'finder_export'
finder_schema in ./finder.install
Implements hook_schema().

File

./finder.module, line 405
The finder module.

Code

function finder_export(&$finder, $indent = '') {
  $finder->additions = array();
  $finder->additions2 = array();
  module_invoke_all('finder_export', $finder);
  return ctools_export_object('finder', $finder, $indent, NULL, $finder->additions, $finder->additions2);
}