You are here

public static function GridStackDefault::fixedSettings in GridStack 8.2

Returns fixed settings not configurable via UI.

2 calls to GridStackDefault::fixedSettings()
GridStackDefault::htmlSettings in src/GridStackDefault.php
Returns HTML or layout related settings, none of JS to shutup notices.
GridStackFormatter::buildSettings in src/GridStackFormatter.php
Modifies the field formatter settings inherited by child elements.

File

src/GridStackDefault.php, line 114

Class

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

Namespace

Drupal\gridstack

Code

public static function fixedSettings() {
  return [
    'item_id' => 'box',
    'nameshort' => 'gs',
    'namespace' => 'gridstack',
    'ratio' => '',
    'blazy' => TRUE,
    'lazy' => 'blazy',
  ];
}