You are here

function uc_addresses_ctools_plugin_api in Ubercart Addresses 7

Same name and namespace in other branches
  1. 6.2 uc_addresses.module \uc_addresses_ctools_plugin_api()

Implements hook_ctools_plugin_api().

File

./uc_addresses.module, line 1318
Adds user profile address support to Ubercart.

Code

function uc_addresses_ctools_plugin_api($owner, $api) {
  if ($owner == 'uc_addresses' && $api == 'uc_addresses_fields') {
    return array(
      'version' => 2,
    );
  }
  if ($owner == 'feeds' && $api == 'plugins') {
    return array(
      'version' => 1,
    );
  }
  if ($owner == 'feeds' && $api == 'feeds_importer_default') {
    return array(
      'version' => 1,
    );
  }
}