protected function LoadMore::defineOptions in Views Load More 8
Same name and namespace in other branches
- 2.x src/Plugin/views/pager/LoadMore.php \Drupal\views_load_more\Plugin\views\pager\LoadMore::defineOptions()
Overrides \Drupal\views\Plugin\views\Full::defineOptions().
Overrides Full::defineOptions
File
- src/
Plugin/ views/ pager/ LoadMore.php, line 51 - Container Drupal\views_load_more\Plugin\views\pager\LoadMore
Class
- LoadMore
- The plugin to handle full pager.
Namespace
Drupal\views_load_more\Plugin\views\pagerCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['more_button_text'] = array(
'default' => $this
->t('Load more'),
);
$options['end_text'] = array(
'default' => '',
);
$options['advanced']['contains']['content_selector'] = array(
'default' => '',
);
$options['advanced']['contains']['pager_selector'] = array(
'default' => '',
);
$options['effects']['contains']['type'] = array(
'default' => '',
);
$options['effects']['contains']['speed'] = array(
'default' => '',
);
return $options;
}