You are here

function styleswitcher_theme in Style Switcher 8.2

Same name and namespace in other branches
  1. 6.2 styleswitcher.module \styleswitcher_theme()
  2. 7.2 styleswitcher.module \styleswitcher_theme()
  3. 3.0.x styleswitcher.module \styleswitcher_theme()

Implements hook_theme().

File

./styleswitcher.module, line 433
Module's hooks implementations and helper functions.

Code

function styleswitcher_theme() {
  return [
    'styleswitcher_admin_styles_table' => [
      'render element' => 'form',
      'function' => 'theme_styleswitcher_admin_styles_table',
    ],
    'styleswitcher_admin_style_overview' => [
      'variables' => [
        'style' => NULL,
      ],
      'function' => 'theme_styleswitcher_admin_style_overview',
    ],
  ];
}