function flot_views_plugin_style::validate in Flot 7
Same name and namespace in other branches
- 6 views/flot_views_plugin_style.inc \flot_views_plugin_style::validate()
Validate function.
Overrides views_plugin_style::validate
File
- flot_views/
views/ flot_views_plugin_style.inc, line 195
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.'),
);
}
}