function path_breadcrumbs_export_list in Path Breadcrumbs 7.2
Same name and namespace in other branches
- 7.3 path_breadcrumbs.module \path_breadcrumbs_export_list()
Ctools list callback of all avalible path_breadcrumbs objects.
Return value
array
1 string reference to 'path_breadcrumbs_export_list'
- path_breadcrumbs_schema in ./
path_breadcrumbs.install - Implements hook_schema().
File
- ./
path_breadcrumbs.module, line 655 - Provide core functions for path breadcrumbs modue.
Code
function path_breadcrumbs_export_list() {
$list = array();
$result = path_breadcrumbs_load_all();
foreach ($result as $path_breadcrumbs) {
$string = $path_breadcrumbs->name . " (" . $path_breadcrumbs->machine_name . ")";
$list[$path_breadcrumbs->machine_name] = check_plain($string);
}
return $list;
}