You are here

function minisite_theme in Mini site 8

Same name and namespace in other branches
  1. 7 includes/minisite.theme.inc \minisite_theme()

Implements hook_theme().

File

./minisite.theme.inc, line 18
minisite.theme.inc

Code

function minisite_theme($existing, $type, $theme, $path) {
  return [
    'minisite_widget' => [
      'render element' => 'element',
    ],
    'minisite_link' => [
      'variables' => [
        'file' => NULL,
        'asset_path' => NULL,
        'description' => NULL,
        'attributes' => [],
      ],
    ],
  ];
}