You are here

function facebookshare_theme in Facebook Share 6

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

Implements hook_theme()

File

./facebookshare.module, line 85
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(
      'arguments' => array(
        'url' => NULL,
      ),
    ),
    'facebookshare_button' => array(
      'arguments' => array(
        'url' => NULL,
        'size' => NULL,
        'text' => NULL,
      ),
    ),
  );
}