public function SlickAdmin::getLayoutOptions in Slick Carousel 7.3
Same name and namespace in other branches
- 8.2 src/Form/SlickAdmin.php \Drupal\slick\Form\SlickAdmin::getLayoutOptions()
- 8 src/Form/SlickAdmin.php \Drupal\slick\Form\SlickAdmin::getLayoutOptions()
Returns default layout options for the core Image, or Views.
1 call to SlickAdmin::getLayoutOptions()
- SlickAdmin::buildSettingsForm in src/
Form/ SlickAdmin.php - Returns the main form elements.
File
- src/
Form/ SlickAdmin.php, line 320
Class
- SlickAdmin
- Provides resusable admin functions, or form elements.
Namespace
Drupal\slick\FormCode
public function getLayoutOptions() {
return [
'bottom' => t('Caption bottom'),
'top' => t('Caption top'),
'right' => t('Caption right'),
'left' => t('Caption left'),
'center' => t('Caption center'),
'center-top' => t('Caption center top'),
'below' => t('Caption below the slide'),
'stage-right' => t('Caption left, stage right'),
'stage-left' => t('Caption right, stage left'),
'split-right' => t('Caption left, stage right, split half'),
'split-left' => t('Caption right, stage left, split half'),
'stage-zebra' => t('Stage zebra'),
'split-zebra' => t('Split half zebra'),
];
}