function views_handler_field_serialized::options_validate
Overrides views_handler::options_validate
File
-
handlers/
views_handler_field_serialized.inc, line 53
Class
- views_handler_field_serialized
- Field handler to show data of serialized fields.
Code
public function options_validate(&$form, &$form_state) {
// Require a key if the format is key.
if ($form_state['values']['options']['format'] == 'key' && $form_state['values']['options']['key'] == '') {
form_error($form['key'], t('You have to enter a key if you want to display a key of the data.'));
}
}