You are here

function twitter_block_theme in Twitter Block 6

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

Implementation of hook_theme().

File

./twitter_block.module, line 155
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(
      'arguments' => array(
        'tweet' => NULL,
        'api' => NULL,
      ),
      'path' => drupal_get_path('module', 'twitter_block'),
      'template' => 'twitter-block-tweet',
    ),
  );
}