You are here

public function ParagraphsSliderPlugin::defaultConfiguration in Paragraphs Collection 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ParagraphsBehaviorBase::defaultConfiguration

File

modules/paragraphs_collection_demo/src/Plugin/paragraphs/Behavior/ParagraphsSliderPlugin.php, line 298

Class

ParagraphsSliderPlugin
Provides Slider plugin.

Namespace

Drupal\paragraphs_collection_demo\Plugin\paragraphs\Behavior

Code

public function defaultConfiguration() {
  return [
    'field_name' => '',
    'slick_slider' => [],
  ];
}