You are here

class GridStackSkin in GridStack 8

Implements GridStackSkinInterface.

Hierarchy

Expanded class hierarchy of GridStackSkin

File

src/GridStackSkin.php, line 8

Namespace

Drupal\gridstack
View source
class GridStackSkin implements GridStackSkinInterface {

  /**
   * {@inheritdoc}
   */
  public function skins() {
    $skins = [
      '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' => [],
          ],
        ],
      ],
    ];
    return $skins;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
GridStackSkin::skins public function Returns the GridStack skins. Overrides GridStackSkinInterface::skins