json_table-1.0.6/modules/json_gridstack/json_gridstack.module
modules/json_gridstack/json_gridstack.module
<?php
/**
* @file
* Json grid stack module.
*/
/**
* Implements hook_theme().
*/
function json_gridstack_theme($existing, $type, $theme, $path) {
$variables = [
'json_gridstack' => [
'render element' => 'item',
'variables' => [
'configuration' => '',
'blocks' => [],
'content' => '',
],
],
'json_gridstack_block' => [
'render element' => 'item',
'variables' => [
'id' => '',
'delta' => '',
'collapse' => '',
'title' => '',
'content' => '',
'bid' => '',
'weight' => 0,
'gridStack' => FALSE,
'h' => 0,
'x' => 0,
'y' => 0,
'w' => 0,
],
],
];
return $variables;
}
