function crumbs_themekey_properties in Crumbs, the Breadcrumbs suite 7
Same name and namespace in other branches
- 7.2 crumbs.info.inc \crumbs_themekey_properties()
Implements hook_themekey_properties().
File
- ./
crumbs.module, line 140 - Provides an API for building breadcrumbs.
Code
function crumbs_themekey_properties() {
$attributes = array();
$attributes['crumbs:trail_paths'] = array(
'description' => t('Crumbs trail paths'),
'validator' => '',
'page cache' => THEMEKEY_PAGECACHE_SUPPORTED,
);
$maps = array();
$maps[] = array(
'src' => 'drupal:get_q',
'dst' => 'crumbs:trail_paths',
'callback' => '_crumbs_themekey_path2trailpaths',
);
return array(
'attributes' => $attributes,
'maps' => $maps,
);
}