protected function LoadMore::defineOptions in Views Load More 2.x
Same name and namespace in other branches
- 8 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 47
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;
}