scald_youtube.install in Scald YouTube 7
Scald Youtube Installation.
File
scald_youtube.installView source
<?php
/**
* @file
* Scald Youtube Installation.
*/
/**
* Implements hook_install().
*/
function scald_youtube_install() {
ScaldAtomController::addType('video', 'Video', 'Video');
}
/**
* Implements hook_uninstall().
*/
function scald_youtube_uninstall() {
drupal_load('module', 'scald');
// If Scald is disabled, its classes are not autoloaded.
module_load_include('inc', 'scald', 'includes/ScaldAtomController');
ScaldAtomController::removeType('video');
}
Functions
Name | Description |
---|---|
scald_youtube_install | Implements hook_install(). |
scald_youtube_uninstall | Implements hook_uninstall(). |