For example for Drupal Commerce: $data = field_info_instances("commerce_product","product");