You are here

function link_badges_theme in Link Badges 8

Implements hook_theme().

File

./link_badges.module, line 71
Link Badges module file.

Code

function link_badges_theme($existing, $type, $theme, $path) {
  return array(
    'link_badges_link_text' => array(
      'template' => 'link-badges-link-text',
      'variables' => array(
        'link' => NULL,
        'badge_value' => NULL,
        'badge_class' => NULL,
        'badge_wrapper_class' => NULL,
        'badge_text_class' => NULL,
      ),
    ),
    'link_badges_views_view' => array(
      'variables' => array(
        'view_array' => array(),
        'view' => NULL,
      ),
      'template' => 'link-badges-views-view',
    ),
  );
}