You are here

function facebook_comments_theme in Facebook Comments Social Plugin 8

Same name and namespace in other branches
  1. 7 facebook_comments.module \facebook_comments_theme()

Implements hook_theme().

File

./facebook_comments.module, line 38
Enables users to use Facebook comments on content.

Code

function facebook_comments_theme($existing, $type, $theme, $path) {
  return array(
    'facebook_comments_block' => array(
      'variables' => array(
        'style' => 'light',
        'amount' => 5,
        'width' => 208,
        'class' => '',
        'url' => '',
        'lang' => 'en_GB',
      ),
    ),
    'facebook_comments_field' => array(
      'variables' => array(
        'style' => 'light',
        'amount' => 15,
        'width' => 620,
        'class' => '',
        'url' => '',
        'lang' => 'en_GB',
      ),
    ),
  );
}