function quail_api_theme in Quail API 8
Same name and namespace in other branches
- 7 quail_api.module \quail_api_theme()
Implements hook_theme().
File
- ./
quail_api.module, line 11 - Module file for the quail api.
Code
function quail_api_theme($existing, $type, $theme, $path) {
$themes = array();
$themes['quail_api_results'] = array(
'template' => 'quail_api_results',
'variables' => array(
'quail_severity_id' => NULL,
'quail_severity_array' => NULL,
'quail_severity_results' => array(),
'quail_markup_format' => NULL,
'quail_title_block' => 'h3',
'quail_display_title' => TRUE,
'quail_display_description' => TRUE,
'quail_renderred_tests' => '',
),
);
$themes['quail_api_test'] = array(
'template' => 'quail_api_test',
'variables' => array(
'quail_test_name' => '',
'quail_test_results' => array(),
'quail_test_note' => '',
'quail_markup_format' => NULL,
'quail_renderred_problems' => '',
),
);
$themes['quail_api_problem'] = array(
'template' => 'quail_api_problem',
'variables' => array(
'quail_problem_id' => '',
'quail_problem_data' => array(),
'quail_markup_format' => NULL,
),
);
return $themes;
}