scald_audio.install in Scald: Media Management made easy 7
Scald Images Installation
File
modules/providers/scald_audio/scald_audio.installView 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
Name | Description |
---|---|
scald_audio_install | Implements hook_install(). |
scald_audio_uninstall | Implements hook_uninstall(). |