function theme_ctools_ajax_sample_container in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 ctools_ajax_sample/ctools_ajax_sample.module \theme_ctools_ajax_sample_container()
Theme function for main rendered output.
1 theme call to theme_ctools_ajax_sample_container()
- ctools_ajax_sample_page in ctools_ajax_sample/
ctools_ajax_sample.module - Page callback to display links and render a container for AJAX stuff.
File
- ctools_ajax_sample/
ctools_ajax_sample.module, line 438 - Sample AJAX functionality so people can see some of the CTools AJAX features in use.
Code
function theme_ctools_ajax_sample_container($vars) {
$output = '<div id="ctools-sample">';
$output .= $vars['content'];
$output .= '</div>';
return $output;
}