function hook_rate_widget_alter in Rate 7
Alter the rate widget before display.
Parameters
object $widget Widget object:
array $context: array( 'content_type' => $content_type, 'content_id' => $content_id, );
1 function implements hook_rate_widget_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- rate_expiration_rate_widget_alter in expiration/
rate_expiration.module - Implements hook_rate_widget_alter().
1 invocation of hook_rate_widget_alter()
- rate_generate_widget in ./
rate.module - Generate a widget.
File
- ./
rate.hooks.inc, line 57 - Defines module hooks.
Code
function hook_rate_widget_alter(&$widget, $context) {
}