You are here

function magnific_popup_ctools_plugin_api in Magnific Popup 7

Implements hook_ctools_plugin_api().

File

./magnific_popup.module, line 57
magnific_popup/magnific_popup.module

Code

function magnific_popup_ctools_plugin_api($owner, $api) {
  static $api_versions = array(
    'file_entity' => array(
      'file_default_displays' => 1,
    ),
  );
  if (isset($api_versions[$owner][$api])) {
    return array(
      'version' => $api_versions[$owner][$api],
    );
  }
}