You are here

function rolereference_theme in Role Reference 6

Implementation of hook_theme().

File

./rolereference.module, line 35
Defines a field type for referencing a role. Based almost entirely on nodereference and userreference modules.

Code

function rolereference_theme() {
  return array(
    'rolereference_select' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'rolereference_buttons' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'rolereference_autocomplete' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'rolereference_formatter_default' => array(
      'arguments' => array(
        'element',
      ),
    ),
    'rolereference_formatter_rid' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'rolereference_formatter_rid_array' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'rolereference_tokens_all' => array(
      'arguments' => array(
        'items' => array(),
        'type' => 'role-all',
      ),
    ),
  );
}