function browsersync_theme in Browsersync 7
Same name and namespace in other branches
- 8.2 browsersync.module \browsersync_theme()
- 8 browsersync.module \browsersync_theme()
Implements hook_theme().
File
- ./
browsersync.module, line 36 - Code for the Browsersync module.
Code
function browsersync_theme($existing, $type, $theme, $path) {
return array(
'browsersync_snippet' => array(
'variables' => array(
'host' => '',
'port' => '',
),
'file' => 'browsersync.theme.inc',
'path' => $path . '/theme',
'template' => 'browsersync-snippet',
),
);
}