function insert_theme in Insert 8
Same name and namespace in other branches
- 8.2 insert.module \insert_theme()
- 6 insert.module \insert_theme()
- 7 insert.module \insert_theme()
Implements hook_theme().
File
- ./
insert.module, line 162
Code
function insert_theme() {
return array(
'insert_button_widget' => array(
'render element' => 'element',
'template' => 'insert-button-widget',
),
'insert_field_widget_settings_styles' => array(
'render element' => 'element',
),
'insert_image' => array(
'variables' => array(
'item' => NULL,
'widget' => NULL,
'style_name' => NULL,
),
'template' => 'insert-image',
'pattern' => 'insert_image__[a-z0-9_]+',
),
'insert_link' => array(
'variables' => array(
'item' => NULL,
'widget' => NULL,
),
'template' => 'insert-link',
),
'insert_icon_link' => array(
'variables' => array(
'item' => NULL,
'widget' => NULL,
),
'template' => 'insert-icon-link',
),
);
}