You are here

function path_breadcrumbs_export_list in Path Breadcrumbs 7.3

Same name and namespace in other branches
  1. 7.2 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 872

Code

function path_breadcrumbs_export_list() {
  $list = array();
  $result = path_breadcrumbs_load_all();
  uksort($result, 'strnatcmp');
  foreach ($result as $path_breadcrumbs) {
    $string = $path_breadcrumbs->name . " (" . $path_breadcrumbs->machine_name . ")";
    $list[$path_breadcrumbs->machine_name] = check_plain($string);
  }
  return $list;
}