class GridStackExampleSkin in GridStack 8
Implements GridStackSkinInterface via hook_gridstack_skins_info().
Hierarchy
- class \Drupal\gridstack_example\GridStackExampleSkin implements GridStackSkinInterface
Expanded class hierarchy of GridStackExampleSkin
File
- modules/
gridstack_example/ src/ GridStackExampleSkin.php, line 10
Namespace
Drupal\gridstack_exampleView source
class GridStackExampleSkin implements GridStackSkinInterface {
/**
* {@inheritdoc}
*/
public function skins() {
$path = base_path() . drupal_get_path('module', 'gridstack_example');
$skins = [
'zoe' => [
'name' => 'X: Zoe',
'provider' => 'gridstack_example',
'css' => [
'theme' => [
$path . '/css/gridstack.theme--zoe.css' => [],
],
],
],
];
return $skins;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GridStackExampleSkin:: |
public | function |
Returns the GridStack skins. Overrides GridStackSkinInterface:: |