You are here

function pdf_to_image_field_presave in PDF to ImageField 7.2

Implements hook_field_presave().

File

./pdf_to_image.module, line 103
Implement a pdf field, based on the file module's file field.

Code

function pdf_to_image_field_presave($entity_type, $entity, $field, $instance, $langcode, &$items) {
  file_field_presave($entity_type, $entity, $field, $instance, $langcode, $items);
  pdf_to_image_generate_process($entity_type, $entity, $field, $instance, $langcode, $items);
}