class GridStackSkin in GridStack 8
Implements GridStackSkinInterface.
Hierarchy
- class \Drupal\gridstack\GridStackSkin implements GridStackSkinInterface
Expanded class hierarchy of GridStackSkin
File
- src/
GridStackSkin.php, line 8
Namespace
Drupal\gridstackView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GridStackSkin:: |
public | function |
Returns the GridStack skins. Overrides GridStackSkinInterface:: |