You are here

function oembedcore_provider_load in oEmbed 6.0

Load a single provider.

File

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

Code

function oembedcore_provider_load($name) {
  ctools_include('export');
  $result = ctools_export_load_object('oembedcore_provider', 'names', array(
    $name,
  ));
  if (isset($result[$name])) {
    return $result[$name];
  }
  else {
    return FALSE;
  }
}