You are here

protected function GridStackSkin::setSkins in GridStack 8.2

Sets the gridstack skins.

@inheritdoc

Overrides GridStackSkinPluginBase::setSkins

File

src/Plugin/gridstack/GridStackSkin.php, line 22

Class

GridStackSkin
Provides gridstack skins.

Namespace

Drupal\gridstack\Plugin\gridstack

Code

protected function setSkins() {

  // If you copy this file, be sure to add base_path() before any asset path
  // (css or js) as otherwise failing to load the assets. Your module can
  // register paths pointing to a theme.
  return [
    'default' => [
      'name' => 'Default',
      'provider' => 'gridstack',
      'css' => [
        'theme' => [
          'css/theme/gridstack.theme--default.css' => [],
        ],
      ],
    ],
    'selena' => [
      'name' => 'Selena',
      'provider' => 'gridstack',
      'css' => [
        'theme' => [
          'css/theme/gridstack.theme--selena.css' => [],
        ],
      ],
    ],
  ];
}