You are here

public function ParagraphsViewmodeBehavior::defaultConfiguration in Paragraphs View Modes 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ParagraphsBehaviorBase::defaultConfiguration

File

src/Plugin/paragraphs/Behavior/ParagraphsViewmodeBehavior.php, line 135

Class

ParagraphsViewmodeBehavior
Class ParagraphsViewmodeBehavior.

Namespace

Drupal\paragraphs_viewmode\Plugin\paragraphs\Behavior

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'override_mode' => 'default',
    'override_available' => [
      'default' => 'Default',
    ],
    'override_default' => 'default',
  ];
}