You are here

function pdf_field_formatter_info in PDF 6

Same name and namespace in other branches
  1. 7 includes/pdf.field.inc \pdf_field_formatter_info()

Implements hook_field_formatter_info().

File

./pdf.module, line 68

Code

function pdf_field_formatter_info() {
  return array(
    'iframe' => array(
      'label' => t('PDF iframe'),
      'field types' => array(
        'filefield',
      ),
    ),
    'thumbnail' => array(
      'label' => t('PDF first page'),
      'field types' => array(
        'filefield',
      ),
    ),
  );
}