function flot_views_plugin_style::validate in Flot 6
Same name and namespace in other branches
- 7 flot_views/views/flot_views_plugin_style.inc \flot_views_plugin_style::validate()
Validate function.
File
- views/
flot_views_plugin_style.inc, line 309
Class
Code
function validate() {
parent::validate();
$field = $this
->get_flot_field();
if (!$field) {
return array(
t('You must use a field that is compatible (e.g. <strong>Data point</strong>) with Flot to use the Flot style plugin.'),
);
}
}