You are here

public function SlickAdmin::getOverridableOptions in Slick Carousel 7.3

Same name and namespace in other branches
  1. 8.2 src/Form/SlickAdmin.php \Drupal\slick\Form\SlickAdmin::getOverridableOptions()
  2. 8 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 301

Class

SlickAdmin
Provides resusable admin functions, or form elements.

Namespace

Drupal\slick\Form

Code

public function getOverridableOptions() {
  $options = [
    'arrows' => t('Arrows'),
    'autoplay' => t('Autoplay'),
    'dots' => t('Dots'),
    'draggable' => t('Draggable'),
    'infinite' => t('Infinite'),
    'mouseWheel' => t('Mousewheel'),
    'randomize' => t('Randomize'),
    'variableWidth' => t('Variable width'),
  ];
  drupal_alter('slick_overridable_options_info', $options);
  return $options;
}