You are here

function pollim_theme in Poll Improved 7

Implement hook_theme().

File

./pollim.module, line 352
Module for the Pollim Entity - a starting point to create your own Entity and associated administration interface

Code

function pollim_theme() {
  return array(
    'pollim_add_list' => array(
      'variables' => array(
        'content' => array(),
      ),
      'file' => 'pollim.admin.inc',
    ),
    'pollim' => array(
      'render element' => 'elements',
      'template' => 'pollim',
    ),
    'pollim_sample_data' => array(
      'variables' => array(
        'pollim_sample_data',
        'pollim' => NULL,
      ),
      'template' => 'pollim-sample-data',
    ),
  );
}