You are here

public function SlickAdmin::getLayoutOptions in Slick Carousel 8

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

Class

SlickAdmin
Provides resusable admin functions, or form elements.

Namespace

Drupal\slick\Form

Code

public function getLayoutOptions() {
  return [
    'bottom' => $this
      ->t('Caption bottom'),
    'top' => $this
      ->t('Caption top'),
    'right' => $this
      ->t('Caption right'),
    'left' => $this
      ->t('Caption left'),
    'center' => $this
      ->t('Caption center'),
    'center-top' => $this
      ->t('Caption center top'),
    'below' => $this
      ->t('Caption below the slide'),
    'stage-right' => $this
      ->t('Caption left, stage right'),
    'stage-left' => $this
      ->t('Caption right, stage left'),
    'split-right' => $this
      ->t('Caption left, stage right, split half'),
    'split-left' => $this
      ->t('Caption right, stage left, split half'),
    'stage-zebra' => $this
      ->t('Stage zebra'),
    'split-zebra' => $this
      ->t('Split half zebra'),
  ];
}