You are here

function facebook_comments_theme in Facebook Comments Social Plugin 7

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

File

./facebook_comments.module, line 490
Facebook Comments Social Plugin module file.

Code

function facebook_comments_theme() {
  return array(
    'facebook_comments_display_node' => array(
      'path' => drupal_get_path('module', 'facebook_comments') . "/templates",
      'template' => 'facebook-comments-display-node',
      'variables' => array(
        'class' => '',
        'url' => '',
        'amount' => 15,
        'width' => 620,
        'style' => 'light',
        'lang' => 'en_GB',
      ),
    ),
    'facebook_comments_display_block' => array(
      'path' => drupal_get_path('module', 'facebook_comments') . "/templates",
      'template' => 'facebook-comments-display-block',
      'variables' => array(
        'class' => '',
        'url' => '',
        'amount' => 5,
        'width' => 208,
        'style' => 'light',
        'lang' => 'en_GB',
      ),
    ),
  );
}