You are here

function path_breadcrumbs_export in Path Breadcrumbs 7.2

Same name and namespace in other branches
  1. 7.3 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 637
Provide core functions for path breadcrumbs modue.

Code

function path_breadcrumbs_export($path_breadcrumbs, $indent) {

  // Structure object according to schema.
  $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,
  );
  return ctools_export_object('path_breadcrumbs', $path_breadcrumbs, $indent);
}