You are here

function userreference_theme in Content Construction Kit (CCK) 6

Same name and namespace in other branches
  1. 6.3 modules/userreference/userreference.module \userreference_theme()
  2. 6.2 modules/userreference/userreference.module \userreference_theme()

Implementation of hook_theme().

File

modules/userreference/userreference.module, line 25
Defines a field type for referencing a user from a node.

Code

function userreference_theme() {
  return array(
    'userreference_select' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'userreference_autocomplete' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'userreference_formatter_default' => array(
      'arguments' => array(
        'element',
      ),
    ),
    'userreference_formatter_plain' => array(
      'arguments' => array(
        'element',
      ),
    ),
  );
}