You are here

function rate_expiration_rate_widget_update in Rate 7

Implements hook_rate_widget_update().

File

expiration/rate_expiration.module, line 57

Code

function rate_expiration_rate_widget_update($widget, $values) {
  $widget->expiration = $values['expiration'];
  $widget->expiration_allow_override = !empty($values['expiration_allow_override']);
}