You are here

function browsersync_theme in Browsersync 7

Same name and namespace in other branches
  1. 8.2 browsersync.module \browsersync_theme()
  2. 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',
    ),
  );
}