You are here

function imagefield_crop_widget_settings in Imagefield Crop 6

Same name and namespace in other branches
  1. 5 imagefield_crop.module \imagefield_crop_widget_settings()

Implementation of CCK's hook_widget_settings().

Delegated to filefield.

File

./imagefield_crop.module, line 46

Code

function imagefield_crop_widget_settings($op, $widget) {

  // make sure we have the functions as this may be called from update.php
  module_load_include('inc', 'imagefield_crop', 'imagefield_crop_widget');
  switch ($op) {
    case 'form':
      return imagefield_crop_widget_settings_form($widget);
    case 'validate':
      return imagefield_crop_widget_settings_validate($widget);
    case 'save':
      return imagefield_crop_widget_settings_save($widget);
  }
}