function _views_customfield_option_after_build in Views Custom Field 5
Put the value back.
Parameters
array $element:
Return value
array
1 string reference to '_views_customfield_option_after_build'
- views_customfield_views_tables in ./
views_customfield.module - Implementation of hook_views_tables()
File
- ./
views_customfield.module, line 80
Code
function _views_customfield_option_after_build($element) {
$values = array();
$values['value'] = $element['value']['#value'];
$element['#value'] = serialize($values);
form_set_value($element, $element['#value']);
return $element;
}