You are here

function imagefield_crop_install in Imagefield Crop 7.3

@file Module installation file.

File

./imagefield_crop.install, line 9
Module installation file.

Code

function imagefield_crop_install() {
  $free_crop = array(
    'name' => 'Free crop',
    'data' => array(
      'crop-type' => 'free',
    ),
  );
  drupal_write_record('imagefield_crop_preset', $free_crop);
}