You are here

function like_and_dislike_theme in Like & Dislike 8

Same name and namespace in other branches
  1. 7 like_and_dislike.module \like_and_dislike_theme()

Implements hook_theme().

File

./like_and_dislike.module, line 171
This module provides 2 voting widgets: Like and Dislike.

Code

function like_and_dislike_theme() {
  $info['like_and_dislike_icons'] = [
    'variables' => [
      'entity_id' => NULL,
      'entity_type' => NULL,
      'icons' => [],
    ],
  ];
  return $info;
}