You are here

function oembedcore_preset_list in oEmbed 6.0

Lists all available presets

File

./oembedcore.module, line 459
Core functionality for oEmbed

Code

function oembedcore_preset_list() {
  $return = array();
  $presets = oembedcore_preset_load_all();
  foreach ($presets as $preset) {
    $return[$preset->name] = $preset->name;
  }
  return $return;
}