You are here

function views_ticker_style_plugin::validate in Views Ticker 6.2

Same name and namespace in other branches
  1. 7.2 includes/views_ticker_style_plugin.inc \views_ticker_style_plugin::validate()
  2. 7 includes/views_ticker_style_plugin.inc \views_ticker_style_plugin::validate()

File

includes/views_ticker_style_plugin.inc, line 162
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;
}