You are here

function views_slideshow_views_slideshow_widget_pager_info in Views Slideshow 7.3

Same name and namespace in other branches
  1. 8.3 views_slideshow.module \views_slideshow_views_slideshow_widget_pager_info()
  2. 6.3 views_slideshow.module \views_slideshow_views_slideshow_widget_pager_info()

Implements hook_views_slideshow_widget_pager_info().

File

./views_slideshow.module, line 343
Provides Slideshow style options for Views.

Code

function views_slideshow_views_slideshow_widget_pager_info($view) {
  $settings = array();

  // Settings for fields pager.
  // First verfiy that the view is using fields.
  if ($view->row_plugin
    ->uses_fields()) {
    $settings = array(
      'views_slideshow_pager_fields' => array(
        'name' => t('Fields'),
      ),
    );
  }
  return $settings;
}