You are here

public function ParagraphsBackgroundPlugin::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/ParagraphsBackgroundPlugin.php, line 99

Class

ParagraphsBackgroundPlugin
Provides a background image feature plugin.

Namespace

Drupal\paragraphs_collection_demo\Plugin\paragraphs\Behavior

Code

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