You are here

function draggable_dashboard_theme in Draggable dashboard 8.2

Same name and namespace in other branches
  1. 8 draggable_dashboard.module \draggable_dashboard_theme()

Implements hook_theme().

File

./draggable_dashboard.module, line 37
Contains draggable_dashboard.module.

Code

function draggable_dashboard_theme($existing, $type, $theme, $path) {
  return [
    'draggable_dashboard_block' => [
      'variables' => [
        'attributes' => [],
        'columns' => [],
        'dashboard' => [],
      ],
      'template' => 'draggable-dashboard-view',
    ],
    'block__dashboard_item' => [
      'template' => 'block--dashboard-item',
      'base hook' => 'block',
    ],
  ];
}