function web_widgets_style_inline_async in Web Widgets 7
Define the theme functions for the web_widgets module
Return value
unknown
File
- inline_async/
web_widgets_style_inline_async.inc, line 12 - Inline-embedding specific functions, preprocessing
Code
function web_widgets_style_inline_async() {
$definition = array(
'theme' => array(
// The HTML-Javascript code lines what should be pasted into the external site
'web_widgets_inline_async' => array(
'template' => 'web_widgets_inline_async',
'arguments' => array(
'path' => NULL,
'width' => NULL,
'height' => NULL,
),
'path' => drupal_get_path('module', 'web_widgets') . '/inline_async',
),
// Possible wrapper code around the widget
'web_widgets_inline_async_wrapper' => array(
'template' => 'web_widgets_inline_async_wrapper',
'arguments' => array(
'content' => NULL,
'title' => NULL,
),
'path' => drupal_get_path('module', 'web_widgets') . '/inline_async',
),
),
'human_readable' => t('Inline (Async)'),
);
return $definition;
}