You are here

function imagefield_crop_preset_load in Imagefield Crop 7.3

Implements hook_load().

Parameters

$pid:

Return value

mixed

1 call to imagefield_crop_preset_load()
imagefield_crop_update_7302 in ./imagefield_crop.install
Upgrade Imagecrop preset to use machine name

File

./imagefield_crop.module, line 1181

Code

function imagefield_crop_preset_load($pid) {
  $presets = imagefield_crop_presets_load_multiple(array(
    $pid,
  ));
  return reset($presets);
}