You are here

public function GridStackLayoutBase::defaultConfiguration in GridStack 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides LayoutDefault::defaultConfiguration

File

src/Plugin/Layout/GridStackLayoutBase.php, line 91

Class

GridStackLayoutBase
Provides a GridStack base class for Layout plugins.

Namespace

Drupal\gridstack\Plugin\Layout

Code

public function defaultConfiguration() {
  return [
    'regions' => [],
  ] + GridStackDefault::layoutSettings() + parent::defaultConfiguration();
}