You are here

function imagefield_crop_field_formatter_info_alter in Imagefield Crop 7.2

Same name and namespace in other branches
  1. 7.3 imagefield_crop.module \imagefield_crop_field_formatter_info_alter()

Implements hook__crop_field_formatter_info_alter().

File

./imagefield_crop.module, line 416
Functionality and Drupal hook implementations for the Imagefield Crop module.

Code

function imagefield_crop_field_formatter_info_alter(&$info) {

  // Let a new field type re-use an existing formatter.
  $info['image']['field types'][] = 'imagefield_crop';
}