You are here

function facebookshare_theme in Facebook Share 8

Same name and namespace in other branches
  1. 6.3 facebookshare.module \facebookshare_theme()
  2. 6 facebookshare.module \facebookshare_theme()
  3. 7 facebookshare.module \facebookshare_theme()

Implements hook_theme().

File

./facebookshare.module, line 68
Adds a button to a node to share on a user's Facebook stream.

Code

function facebookshare_theme($existing, $type, $theme, $path) {
  return array(
    'facebookshare' => array(
      'variables' => array(
        'url' => NULL,
        'size' => NULL,
        'text' => NULL,
      ),
    ),
  );
}