You are here

asset_audio.module in Asset 7

Code for the Asset Audio module.

File

modules/asset_audio/asset_audio.module
View source
<?php

/**
 * @file
 * Code for the Asset Audio module.
 */

/**
 * Implements hook_default_asset_type().
 */
function asset_audio_default_asset_type() {
  $items = array();
  $items['audio'] = entity_import('asset_type', '{
    "type" : "audio",
    "name" : "Audio",
    "icon" : "AddSound.png",
    "description" : "",
    "help" : "",
    "weight" : "5",
    "locked" : "0"
  }');
  return $items;
}

Functions

Namesort descending Description
asset_audio_default_asset_type Implements hook_default_asset_type().