You are here

function oembedcore_provider_list in oEmbed 6.0

Lists all available providers.

File

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

Code

function oembedcore_provider_list() {
  $return = array();
  $providers = oembedcore_provider_load_all();
  foreach ($providers as $provider) {
    $return[$provider->name] = $provider->name;
  }
  return $return;
}