function pcp_theme in Profile Complete Percent 8
Same name and namespace in other branches
- 5 pcp.module \pcp_theme()
- 6.2 pcp.module \pcp_theme()
- 6 pcp.module \pcp_theme()
- 7 pcp.module \pcp_theme()
Implements hook_theme().
File
- ./
pcp.module, line 6
Code
function pcp_theme($existing, $type, $theme, $path) {
return [
'pcp_template' => [
'variables' => [
'uid' => NULL,
'completed' => NULL,
'incomplete' => NULL,
'total' => NULL,
'open_link' => NULL,
'hide_pcp_block' => NULL,
'nextfield_name' => NULL,
'nextfield_title' => NULL,
'current_percent' => NULL,
'next_percent' => NULL,
],
],
];
}