You are here

function ais_ctools_plugin_api in Adaptive Image Styles (ais) 7

Implements hook_ctools_plugin_api().

Lets CTools know which plugin APIs are implemented by Media module.

File

./ais.module, line 220
Adaptive Image Styles Module

Code

function ais_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],
    );
  }
}