You are here

pcp.module in Profile Complete Percent 8

Same filename and directory in other branches
  1. 5 pcp.module
  2. 6.2 pcp.module
  3. 6 pcp.module
  4. 7 pcp.module

File

pcp.module
View source
<?php

/**
 * Implements hook_theme().
 */
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,
      ],
    ],
  ];
}

Functions

Namesort descending Description
pcp_theme Implements hook_theme().