function path_metatags_load_by_name_multiple in Path metatags 7
Load multiple objects by names.
Parameters
$names:
Return value
array
1 string reference to 'path_metatags_load_by_name_multiple'
- path_metatags_schema in ./
path_metatags.install - Implements hook_schema().
File
- ./
path_metatags.module, line 361 - Provide core functions for path metatags module.
Code
function path_metatags_load_by_name_multiple($names) {
ctools_include('export');
$result = ctools_export_load_object('path_metatags', 'names', $names);
// Merge metatags data with parent for more flattening structure.
foreach ($result as $name => $path_metatags) {
$result[$name] = path_metatags_load_prepare($path_metatags);
}
return $result;
}