function web_widgets_style_uwa in Web Widgets 6
Same name and namespace in other branches
- 7 uwa/web_widgets_style_uwa.inc \web_widgets_style_uwa()
Define the theme functions for the web_widgets module
Return value
unknown
File
- uwa/
web_widgets_style_uwa.inc, line 13 - UWA-embedding specific functions, preprocessing http://dev.netvibes.com/
Code
function web_widgets_style_uwa() {
$definition = array(
'theme' => array(
'web_widgets_uwa' => array(
'template' => 'web_widgets_uwa',
'arguments' => array(
'path' => NULL,
'width' => NULL,
'height' => NULL,
),
'path' => drupal_get_path('module', 'web_widgets') . '/uwa',
),
// Possible wrapper code around the widget
'web_widgets_uwa_wrapper' => array(
'template' => 'web_widgets_uwa_wrapper',
'arguments' => array(
'content' => NULL,
),
'path' => drupal_get_path('module', 'web_widgets') . '/uwa',
),
// Widget file with the views URL
'web_widgets_uwa_widget' => array(
'template' => 'web_widgets_uwa_widget',
'arguments' => array(
'url' => NULL,
'title' => NULL,
),
'path' => drupal_get_path('module', 'web_widgets') . '/uwa',
),
),
'human_readable' => t('NetVibes'),
);
return $definition;
}