You are here

function pdf_to_imagefield_widget_settings in PDF to ImageField 6.2

Same name and namespace in other branches
  1. 6 pdf_to_imagefield.module \pdf_to_imagefield_widget_settings()

Declare what happens when someone uses our widget

Implementation of CCK's hook_widget_settings().

File

./pdf_to_imagefield.module, line 564
PDF to ImageField core hooks and menu callbacks.

Code

function pdf_to_imagefield_widget_settings($op, $widget) {
  switch ($op) {
    case 'form':
      return pdf_to_imagefield_widget_settings_form($widget);
    case 'validate':
      return pdf_to_imagefield_widget_settings_validate($widget);
    case 'save':
      return pdf_to_imagefield_widget_settings_save($widget);
  }
}