function twitter_bootstrap_modal_theme in Twitter Bootstrap Modal 7.3
Same name and namespace in other branches
- 7 twitter_bootstrap_modal.module \twitter_bootstrap_modal_theme()
Implementation of hook_theme().
Creates the template for the TB Modal.
File
- ./
twitter_bootstrap_modal.module, line 134 - Generates a Twitter Bootstrap Modal.
Code
function twitter_bootstrap_modal_theme($existing, $type, $theme, $path) {
$themes = array(
'twitter_bootstrap_modal_modal' => array(
'variables' => array(
'site_name' => NULL,
'render_string' => '<span>' . t("No content found") . "</span>",
),
'template' => 'twitter_bootstrap_modal_modal',
),
);
return $themes;
}