You are here

public function SectionLayout::defaultConfiguration in Dashboards with Layout Builder 8

Same name and namespace in other branches
  1. 2.0.x src/Layouts/SectionLayout.php \Drupal\dashboards\Layouts\SectionLayout::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides LayoutDefault::defaultConfiguration

File

src/Layouts/SectionLayout.php, line 19

Class

SectionLayout
Add layout settings.

Namespace

Drupal\dashboards\Layouts

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'reverse' => FALSE,
  ];
}