You are here

function flickity_settings_list in Flickity Carousel 8.2

Same name and namespace in other branches
  1. 8 flickity.module \flickity_settings_list()
  2. 3.0.x flickity.module \flickity_settings_list()

Returns a list of all available settings groups.

2 calls to flickity_settings_list()
FlickityEntityView::settingsForm in modules/fields/src/Plugin/Field/FieldFormatter/FlickityEntityView.php
Returns a form to configure settings for the formatter.
FlickityViewsStyle::buildOptionsForm in modules/views/src/Plugin/views/style/FlickityViewsStyle.php
Provide a form to edit options for this plugin.

File

./flickity.module, line 100
flickity.module

Code

function flickity_settings_list() {
  $options = array();
  foreach (flickity_load_multiple() as $group) {
    $options[$group
      ->id()] = $group
      ->label();
  }
  return $options;
}