You are here

function audio_js_theme in audio.js 7

Implements hook_theme().

File

./audio_js.module, line 225
This is the main script for the audio.js module. It merely contains the implementation of hooks invoked by Drupal core.

Code

function audio_js_theme($existing, $type, $theme, $path) {
  return array(
    'audio_js_audio_tag' => array(
      'variables' => array(
        'url' => NULL,
        'preload' => FALSE,
        'autoplay' => FALSE,
        'loop' => FALSE,
        'class' => 'audiojs-default',
      ),
    ),
    'audio_js_audio_tag_for_playlist' => array(
      'variables' => array(
        'preload' => FALSE,
        'autoplay' => FALSE,
        'class' => 'audiojs-default',
      ),
    ),
  );
}