You are here

function path_breadcrumbs_load_all in Path Breadcrumbs 7.3

Same name and namespace in other branches
  1. 7.2 path_breadcrumbs.module \path_breadcrumbs_load_all()

Load all path breadcrumbs from database and code.

Return value

array Array of path_breadcrumbs objects.

4 calls to path_breadcrumbs_load_all()
path_breadcrumbs_export_list in ./path_breadcrumbs.module
Ctools list callback of all avalible path_breadcrumbs objects.
path_breadcrumbs_i18n_load_all in path_breadcrumbs_i18n/path_breadcrumbs_i18n.module
Load all translatable path breadcrumbs from database and code.
path_breadcrumbs_load_by_path in ./path_breadcrumbs.module
Load enabled path_breadcrumbs by path.
path_breadcrumbs_ui_breadcrumbs_list in path_breadcrumbs_ui/path_breadcrumbs_ui.admin.inc
Page callback for module settings page.
1 string reference to 'path_breadcrumbs_load_all'
path_breadcrumbs_schema in ./path_breadcrumbs.install
Implements hook_schema().

File

./path_breadcrumbs.module, line 658

Code

function path_breadcrumbs_load_all() {
  ctools_include('export');
  $data = ctools_export_load_object('path_breadcrumbs', 'all');

  // Make objects more developer-friendly.
  $data = array_map('path_breadcrumbs_load_prepare', $data);

  // Order by weight.
  uasort($data, '_path_breadcrumbs_sort_weight');
  return $data;
}