You are here

function google_plusone_theme in Google Plus One Button | Google+ Badge 7

Same name and namespace in other branches
  1. 6 google_plusone.module \google_plusone_theme()

Implements hook_theme().

File

./google_plusone.module, line 43

Code

function google_plusone_theme() {
  return array(
    'google_plusone_button' => array(
      'variables' => array(
        'node' => NULL,
        'url' => NULL,
        'css' => '',
        'size' => '',
        'syntax' => 'g:plusone',
        'annotation' => 'bubble',
        'width' => '250',
        'alias' => 'aliased',
      ),
    ),
    'google_plusone_badge' => array(
      'variables' => array(
        'page_id' => '',
        'style' => 'standardbadge',
        'width' => '300',
        'theme' => 'light',
        'custom_name' => '',
      ),
    ),
  );
}