starrating.module in Star Rating 8.4
Same filename and directory in other branches
Contains module file for starrating.
File
starrating.moduleView source
<?php
/**
* @file
* Contains module file for starrating.
*/
/**
* Impements hook_theme.
*/
function starrating_theme($existing, $type, $theme, $path) {
return [
'starrating_formatter' => [
'variables' => [
'rate' => 5,
'min' => NULL,
'max' => NULL,
'icon_type' => NULL,
'icon_color' => NULL,
'fill_blank' => NULL,
'type' => 'starrating',
],
],
];
}
Functions
Name | Description |
---|---|
starrating_theme | Impements hook_theme. |