You are here

public static function LayoutParagraphsBuilderFormatter::defaultSettings in Layout Paragraphs 2.0.x

Replicates settings from Layout Paragraphs Widget.

Return value

array The default settings array.

See also

\Drupal\layout_paragraphs\Plugin\Field\FieldWidget\LayoutParagraphsWidget

File

src/Plugin/Field/FieldFormatter/LayoutParagraphsBuilderFormatter.php, line 134

Class

LayoutParagraphsBuilderFormatter
Layout Paragraphs field formatter.

Namespace

Drupal\layout_paragraphs\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  $defaults = parent::defaultSettings();
  return LayoutParagraphsWidget::defaultSettings() + $defaults;
}