You are here

function twitter_bootstrap_modal_theme in Twitter Bootstrap Modal 7

Same name and namespace in other branches
  1. 7.3 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 70
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,
        'module_path' => NULL,
        'replacement_string' => '%s',
      ),
      'template' => 'twitter_bootstrap_modal_modal',
    ),
  );
  return $themes;
}