You are here

function filefield_source_reference_theme in FileField Sources 7

Same name and namespace in other branches
  1. 6 sources/reference.inc \filefield_source_reference_theme()

Implements hook_theme().

File

sources/reference.inc, line 51
A FileField extension to allow referencing of existing files.

Code

function filefield_source_reference_theme() {
  return array(
    'filefield_source_reference_element' => array(
      'render element' => 'element',
      'file' => 'sources/reference.inc',
    ),
    'filefield_source_reference_autocomplete_item' => array(
      'variables' => array(
        'file' => NULL,
      ),
      'file' => 'sources/reference.inc',
    ),
  );
}