You are here

function gdoc_field_theme in Embedded Google Docs Viewer 8

Implements hook_theme().

File

./gdoc_field.module, line 40
A field formatter for the File field.

Code

function gdoc_field_theme() {
  return [
    'gdoc_field' => [
      'variables' => [
        'url' => NULL,
        'filename' => NULL,
        'delta' => NULL,
        'entity' => NULL,
        'bundle' => NULL,
        'field_name' => NULL,
        'field_type' => NULL,
      ],
    ],
  ];
}