function panopoly_magic_theme in Panopoly Magic 7
Same name and namespace in other branches
- 8.2 panopoly_magic.module \panopoly_magic_theme()
Implements hook_theme().
File
- ./
panopoly_magic.module, line 122
Code
function panopoly_magic_theme($existing, $type, $theme, $path) {
return array(
'panopoly_magic_stylizer_preview_form' => array(
'render element' => 'form',
),
'panopoly_magic_preview' => array(
'variables' => array(
'title' => NULL,
'add_link' => NULL,
'preview' => NULL,
'single' => FALSE,
),
'template' => 'panopoly-magic-preview',
),
'panopoly_magic_preview_link' => array(
'variables' => array(
'preview_link' => NULL,
'add_link' => NULL,
'description' => '',
),
),
);
}