protected function LayoutParagraphsComponent::defaultSettings in Layout Paragraphs 2.0.x
Returns an array of default settings.
Return value
array The default settings.
1 call to LayoutParagraphsComponent::defaultSettings()
- LayoutParagraphsComponent::getSettings in src/
LayoutParagraphsComponent.php - Returns the layout paragraph's behavior settings.
1 method overrides LayoutParagraphsComponent::defaultSettings()
- LayoutParagraphsSection::defaultSettings in src/
LayoutParagraphsSection.php - Returns an array of default settings.
File
- src/
LayoutParagraphsComponent.php, line 181
Class
- LayoutParagraphsComponent
- Provides a domain object for a single Layout Paragraphs Component.
Namespace
Drupal\layout_paragraphsCode
protected function defaultSettings() {
return [
'region' => '',
'parent_uuid' => '',
];
}