You are here

function pdfthumb_entity_presave in PDFThumb 7

Implements hook_entity_presave().

File

./pdfthumb.module, line 153
Give a way to create pdf thumbnails.

Code

function pdfthumb_entity_presave($entity, $type) {

  // Before saving an entity the module check for a pdf to process
  pdfthumb_process($entity, $type);
}