You are here

function oembed_ctools_plugin_api in oEmbed 8

Same name and namespace in other branches
  1. 7 oembed.module \oembed_ctools_plugin_api()
  2. 7.0 oembed.module \oembed_ctools_plugin_api()

Implements hook_ctools_plugin_api().

File

./oembed.module, line 171
Core functionality for oEmbed

Code

function oembed_ctools_plugin_api($module, $api) {
  if ($module == 'file_entity' && $api == 'file_type') {
    return array(
      'version' => 1,
    );
  }
  if ($module == 'file_entity' && $api == 'file_default_displays') {
    return array(
      'version' => 1,
    );
  }
}