You are here

function media_entity_twitter_theme in Media entity Twitter 8

Same name and namespace in other branches
  1. 8.2 media_entity_twitter.module \media_entity_twitter_theme()

Implements hook_theme().

File

./media_entity_twitter.module, line 11
Hook implementations for media_entity_twitter module.

Code

function media_entity_twitter_theme() {
  return [
    'media_entity_twitter_tweet' => [
      'variables' => [
        'path' => NULL,
        'attributes' => [],
      ],
    ],
    'media_entity_twitter_tweet_thumbnail' => [
      'variables' => [
        'content' => '',
        'author' => '',
        'avatar' => NULL,
      ],
    ],
  ];
}