function themekey_comment_themekey_properties in ThemeKey 6
Same name and namespace in other branches
- 6.4 modules/themekey.comment.inc \themekey_comment_themekey_properties()
- 6.2 modules/themekey.comment.inc \themekey_comment_themekey_properties()
- 6.3 modules/themekey.comment.inc \themekey_comment_themekey_properties()
- 7.3 modules/themekey.comment.inc \themekey_comment_themekey_properties()
- 7 modules/themekey.comment.inc \themekey_comment_themekey_properties()
- 7.2 modules/themekey.comment.inc \themekey_comment_themekey_properties()
File
- modules/
themekey.comment.inc, line 3
Code
function themekey_comment_themekey_properties() {
// Attributes for properties
$attributes = array();
$attributes['comment:cid'] = array(
'description' => t('Comment: ID'),
);
// Mapping functions
$maps = array();
$maps[] = array(
'src' => 'comment:cid',
'dst' => 'node:nid',
'callback' => 'themekey_comment_cid2nid',
);
return array(
'attributes' => $attributes,
'maps' => $maps,
);
}