function pcp_theme in Profile Complete Percent 7
Same name and namespace in other branches
- 8 pcp.module \pcp_theme()
- 5 pcp.module \pcp_theme()
- 6.2 pcp.module \pcp_theme()
- 6 pcp.module \pcp_theme()
Implements hook_theme().
File
- ./
pcp.module, line 12 - Allows users with valid permissions to tag profile fields (core fields or Profile2 fields) for a users profile to be considered complete.
Code
function pcp_theme($existing, $type, $theme, $path) {
return array(
'pcp_template' => array(
'template' => 'pcp-template',
'variables' => array(
'complete_data' => NULL,
),
),
);
}