You are here

function pcp_theme in Profile Complete Percent 8

Same name and namespace in other branches
  1. 5 pcp.module \pcp_theme()
  2. 6.2 pcp.module \pcp_theme()
  3. 6 pcp.module \pcp_theme()
  4. 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,
      ],
    ],
  ];
}