You are here

function rate_expiration_rate_widget_insert in Rate 7

Implements hook_rate_widget_insert().

File

expiration/rate_expiration.module, line 49

Code

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