You are here

public static function FlickityEntityView::defaultSettings in Flickity Carousel 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/fields/src/Plugin/Field/FieldFormatter/FlickityEntityView.php \Drupal\flickity_fields\Plugin\Field\FieldFormatter\FlickityEntityView::defaultSettings()
  2. 8 modules/fields/src/Plugin/Field/FieldFormatter/FlickityEntityView.php \Drupal\flickity_fields\Plugin\Field\FieldFormatter\FlickityEntityView::defaultSettings()

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides EntityReferenceEntityFormatter::defaultSettings

File

modules/fields/src/Plugin/Field/FieldFormatter/FlickityEntityView.php, line 46
Contains \Drupal\flickity_fields\Plugin\Field\FieldFormatter\FlickityEntityView

Class

FlickityEntityView
Plugin implementation of the 'flickity entity view' formatter.

Namespace

Drupal\flickity_fields\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'flickity_settings' => 'default_group',
  ) + parent::defaultSettings();
}