You are here

scald_audio.install in Scald: Media Management made easy 7

Scald Images Installation

File

modules/providers/scald_audio/scald_audio.install
View source
<?php

/**
 * @file
 * Scald Images Installation
 */

/**
 * Implements hook_install().
 */
function scald_audio_install() {
  ScaldAtomController::addType('audio', 'Audio', 'Audio');
}

/**
 * Implements hook_uninstall().
 */
function scald_audio_uninstall() {
  drupal_load('module', 'scald');

  // If Scald is disabled, its classes are not autoloaded.
  module_load_include('inc', 'scald', 'includes/ScaldAtomController');
  ScaldAtomController::removeType('audio');
}

Functions