function gridstack_theme in GridStack 8.2
Same name and namespace in other branches
- 8 gridstack.module \gridstack_theme()
Implements hook_theme().
File
- ./
gridstack.module, line 44 - Provides GridStack integration to have multi-column grids with drag-and-drop.
Code
function gridstack_theme() {
$themes = [];
foreach ([
'gridstack',
'box',
] as $item) {
$key = $item == 'gridstack' ? $item : 'gridstack_' . $item;
$themes[$key] = [
'render element' => 'element',
'file' => 'templates/gridstack.theme.inc',
];
}
return $themes;
}