You are here

protected function SettingsForm::getImagesTypes in bootstrap simple carousel 8

Return bootstrap images types.

Return value

array Image types list

1 call to SettingsForm::getImagesTypes()
SettingsForm::buildForm in src/Form/SettingsForm.php
Form constructor.

File

src/Form/SettingsForm.php, line 162

Class

SettingsForm
Class SettingsForm.

Namespace

Drupal\bootstrap_simple_carousel\Form

Code

protected function getImagesTypes() {
  $options = [
    static::DEFAULT_IMAGE_TYPE_ID => $this
      ->t('Image none'),
    static::FLUID_IMAGE_TYPE_ID => $this
      ->t('Image fluid'),
    static::CIRCLE_IMAGE_TYPE_ID => $this
      ->t('Image circle'),
  ];
  return $options;
}