You are here

function twitter_block_theme in Twitter Block 7

Same name and namespace in other branches
  1. 6 twitter_block.module \twitter_block_theme()

Implements hook_theme().

File

./twitter_block.module, line 299
A module to provide simple Twitter blocks using the Twitter Search API.

Code

function twitter_block_theme($existing, $type, $theme, $path) {
  return array(
    'twitter_block_tweet' => array(
      'variables' => array(
        'tweet' => NULL,
        'api' => NULL,
      ),
      'path' => drupal_get_path('module', 'twitter_block'),
      'template' => 'twitter-block-tweet',
    ),
  );
}