You are here

public static function GridStackVariant::defaultSettings in GridStack 8.2

Overrides GridStackBase::defaultSettings

File

src/Entity/GridStackVariant.php, line 89

Class

GridStackVariant
Defines the GridStack variant configuration entity.

Namespace

Drupal\gridstack\Entity

Code

public static function defaultSettings() {
  $default = $this
    ->getOptionset('default', TRUE);
  return $default ? $default
    ->getOptions('settings') : [];
}