You are here

function fb_likebox_theme in Facebook Page Plugin 7

Same name and namespace in other branches
  1. 8.2 fb_likebox.module \fb_likebox_theme()
  2. 8 fb_likebox.module \fb_likebox_theme()
  3. 6.2 fb_likebox.module \fb_likebox_theme()
  4. 6 fb_likebox.module \fb_likebox_theme()

Implements hook_theme().

File

./fb_likebox.module, line 223
Simple module that provides a configurable block with Facebook Likebox's plugin.

Code

function fb_likebox_theme($existing, $type, $theme, $path) {
  return array(
    'fb_likebox_facebook' => array(
      'variables' => array(
        'fb_url' => NULL,
        'fb_colorscheme' => NULL,
        'fb_header' => NULL,
        'fb_stream' => NULL,
        'fb_show_faces' => NULL,
        'fb_scrolling' => NULL,
        'fb_width' => NULL,
        'fb_width_unit' => NULL,
        'fb_height' => NULL,
        'fb_show_border' => NULL,
        'fb_force_wall' => NULL,
        'fb_iframe_title' => NULL,
      ),
      'template' => 'fb_likebox',
      'path' => $path . '/templates',
    ),
  );
}