You are here

function blockreference_theme in Block reference 6

Same name and namespace in other branches
  1. 7.2 blockreference.module \blockreference_theme()
  2. 7 blockreference.module \blockreference_theme()

Implementation of hook_theme().

File

./blockreference.module, line 25
Defines a field type for referencing a block from a node.

Code

function blockreference_theme() {
  return array(
    'blockreference_item_simple' => array(
      'arguments' => array(
        'item' => NULL,
      ),
    ),
    'blockreference_item_advanced' => array(
      'arguments' => array(
        'item' => NULL,
        'view' => NULL,
      ),
    ),
    'blockreference_select' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'blockreference_select_sort' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'blockreference_autocomplete' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'blockreference_formatter_default' => array(
      'arguments' => array(
        'element',
      ),
    ),
    'blockreference_formatter_without_title' => array(
      'arguments' => array(
        'element',
      ),
    ),
    'blockreference_formatter_plain' => array(
      'arguments' => array(
        'element',
      ),
    ),
    'blockreference_formatter_title' => array(
      'arguments' => array(
        'element',
      ),
    ),
  );
}