function path_breadcrumbs_export in Path Breadcrumbs 7.3
Same name and namespace in other branches
- 7.2 path_breadcrumbs.module \path_breadcrumbs_export()
Ctools export callback.
Parameters
$path_breadcrumbs:
$indent:
Return value
string
1 string reference to 'path_breadcrumbs_export'
- path_breadcrumbs_schema in ./
path_breadcrumbs.install - Implements hook_schema().
File
- ./
path_breadcrumbs.module, line 849
Code
function path_breadcrumbs_export($path_breadcrumbs, $indent) {
// Structure object according to schema.
if (empty($path_breadcrumbs->data)) {
$path_breadcrumbs->data = array(
'titles' => $path_breadcrumbs->titles,
'paths' => $path_breadcrumbs->paths,
'home' => $path_breadcrumbs->home,
'translatable' => $path_breadcrumbs->translatable,
'arguments' => $path_breadcrumbs->arguments,
'access' => $path_breadcrumbs->access,
);
if (!empty($path_breadcrumbs->custom)) {
$path_breadcrumbs->data['custom'] = $path_breadcrumbs->custom;
}
}
return ctools_export_object('path_breadcrumbs', $path_breadcrumbs, $indent);
}