You are here

function bear_necessities_default_asset_type in Bear 7.2

Same name and namespace in other branches
  1. 7 modules/bear_necessities/bear_necessities.features.inc \bear_necessities_default_asset_type()

Implements hook_default_asset_type().

File

modules/bear_necessities/bear_necessities.features.inc, line 10
bear_necessities.features.inc

Code

function bear_necessities_default_asset_type() {
  $items = array();
  $items['embed'] = entity_import('asset_type', '{
    "type" : "embed",
    "name" : "Embed",
    "icon" : "AddVideo.png",
    "description" : "Embed via URL from anything supported by http:\\/\\/embed.ly\\/providers",
    "help" : "Paste a URL from any provider supported by http:\\/\\/embed.ly\\/providers",
    "weight" : "0",
    "locked" : "0",
    "uuid" : ""
  }');
  return $items;
}