function views_ticker_style_plugin::validate in Views Ticker 7
Same name and namespace in other branches
- 6.2 includes/views_ticker_style_plugin.inc \views_ticker_style_plugin::validate()
- 7.2 includes/views_ticker_style_plugin.inc \views_ticker_style_plugin::validate()
Validate that the plugin is correct and can be saved.
Return value
array An array of error strings to tell the user what is wrong with this plugin.
Overrides views_plugin_style::validate
File
- includes/
views_ticker_style_plugin.inc, line 258 - Contains the views ticker style plugin.
Class
- views_ticker_style_plugin
- Style plugin to render each item in an ordered or unordered list.
Code
function validate() {
$errors = parent::validate();
if ($this->display->handler
->use_pager()) {
$errors[] = t('The ticker style cannot be used with a pager. Disable the "Use pager" option for this display.');
}
return $errors;
}