function webform_protected_downloads_theme in Webform Protected Downloads 7
Same name and namespace in other branches
- 8 webform_protected_downloads.module \webform_protected_downloads_theme()
- 6 webform_protected_downloads.module \webform_protected_downloads_theme()
Implementation of hook_theme().
File
- ./
webform_protected_downloads.module, line 167 - This file contains hook declarations and functions for the Webform Protected Downloads module.
Code
function webform_protected_downloads_theme($existing, $type, $theme, $path) {
return array(
'webform_protected_downloads_download_page' => array(
'variables' => array(
'text' => NULL,
'files_table' => NULL,
),
'template' => 'webform-protected-downloads-download-page',
),
'webform_protected_downloads_configuration_form_file_list' => array(
'render element' => 'element',
'file' => 'webform_protected_downloads.form.inc',
),
'webform_protected_downloads_mail_token_file_list' => array(
'variables' => array(
'files' => NULL,
'checksum' => FALSE,
),
'file' => 'webform_protected_downloads.form.inc',
),
);
}