function path_breadcrumbs_load_by_name_multiple in Path Breadcrumbs 7.2
Same name and namespace in other branches
- 7.3 path_breadcrumbs.module \path_breadcrumbs_load_by_name_multiple()
Load multiple objects by names.
Parameters
$names:
Return value
array
1 string reference to 'path_breadcrumbs_load_by_name_multiple'
- path_breadcrumbs_schema in ./
path_breadcrumbs.install - Implements hook_schema().
File
- ./
path_breadcrumbs.module, line 441 - Provide core functions for path breadcrumbs modue.
Code
function path_breadcrumbs_load_by_name_multiple($names) {
ctools_include('export');
$result = ctools_export_load_object('path_breadcrumbs', 'names', $names);
// Merge breadcrumb data with parent for more flattening structure.
foreach ($result as $name => $path_breadcrumbs) {
$result[$name] = path_breadcrumbs_load_prepare($path_breadcrumbs);
}
return $result;
}