You are here

public static function GridStackDefault::layoutSettings in GridStack 8.2

Returns the main layout settings.

3 calls to GridStackDefault::layoutSettings()
GridStackHook::mapConfigSchemaInfoAlter in src/GridStackHook.php
Maps config schema.
GridStackLayoutBase::buildConfigurationForm in src/Plugin/Layout/GridStackLayoutBase.php
Form constructor.
GridStackLayoutBase::defaultConfiguration in src/Plugin/Layout/GridStackLayoutBase.php
Gets default configuration for this plugin.

File

src/GridStackDefault.php, line 225

Class

GridStackDefault
Defines shared plugin default settings for field formatter and Views style.

Namespace

Drupal\gridstack

Code

public static function layoutSettings() {
  return [
    'current_selection' => '',
    'regions' => [],
    'field_name' => '',
    'gid' => '',
    'metadata' => '',
    'vid' => '',
    'vm' => '',
  ] + self::commonSettings() + self::regionSettings();
}