You are here

function pdf_reader_field_formatter_info in PDF Reader 7

Same name and namespace in other branches
  1. 7.2 pdf_reader.module \pdf_reader_field_formatter_info()

Implement hook_field_formatter_info().

File

./pdf_reader.module, line 27
pdf reader module file.

Code

function pdf_reader_field_formatter_info() {
  return array(
    'pdf_reader_file' => array(
      'label' => t('PDF Reader'),
      'field types' => array(
        'file',
        'text',
      ),
      'settings' => array(
        'pdf_width' => 600,
        'pdf_height' => 780,
        'renderer' => 'google',
        'download' => FALSE,
        'colorbox' => FALSE,
        'colorbox_link_text' => '',
      ),
    ),
  );
}