You are here

function jcarousel_style_plugin::validate in jCarousel 8.3

Same name and namespace in other branches
  1. 6.2 includes/jcarousel_style_plugin.inc \jcarousel_style_plugin::validate()
  2. 7.3 includes/jcarousel_style_plugin.inc \jcarousel_style_plugin::validate()
  3. 7.2 includes/jcarousel_style_plugin.inc \jcarousel_style_plugin::validate()

File

includes/jcarousel_style_plugin.inc, line 165
Contains the jCarousel style plugin.

Class

jcarousel_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 jCarousel style cannot be used with a pager. Disable the "Use pager" option for this display.');
  }
  return $errors;
}