public function SlickAdmin::getOverridableOptions in Slick Carousel 8.2
Same name and namespace in other branches
- 8 src/Form/SlickAdmin.php \Drupal\slick\Form\SlickAdmin::getOverridableOptions()
- 7.3 src/Form/SlickAdmin.php \Drupal\slick\Form\SlickAdmin::getOverridableOptions()
Returns overridable options to re-use one optionset.
1 call to SlickAdmin::getOverridableOptions()
- SlickAdmin::closingForm in src/
Form/ SlickAdmin.php - Returns the closing ending form elements.
File
- src/
Form/ SlickAdmin.php, line 359
Class
- SlickAdmin
- Provides resusable admin functions, or form elements.
Namespace
Drupal\slick\FormCode
public function getOverridableOptions() {
$options = [
'arrows' => $this
->t('Arrows'),
'autoplay' => $this
->t('Autoplay'),
'dots' => $this
->t('Dots'),
'draggable' => $this
->t('Draggable'),
'infinite' => $this
->t('Infinite'),
'mouseWheel' => $this
->t('Mousewheel'),
'randomize' => $this
->t('Randomize'),
'variableWidth' => $this
->t('Variable width'),
];
$this->manager
->getModuleHandler()
->alter('slick_overridable_options_info', $options);
return $options;
}