You are here

function theme_fivestar in Fivestar 8

Same name and namespace in other branches
  1. 5 fivestar.module \theme_fivestar()
  2. 6.2 fivestar.module \theme_fivestar()
  3. 6 fivestar.module \theme_fivestar()
  4. 7.2 includes/fivestar.theme.inc \theme_fivestar()

Themes the fivestar form element by adding necessary css and javascript.

1 string reference to 'theme_fivestar'
fivestar_theme in ./fivestar.module
Implements hook_theme().

File

includes/fivestar.theme.inc, line 148
Provides the theming functions for fivestar.

Code

function theme_fivestar($variables) {
  $element = $variables['element'];
  return theme('form_element', [
    'element' => $element,
  ]);
}