You are here

function blockreference_theme in Block reference 7

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

Implements hook_theme().

File

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

Code

function blockreference_theme() {
  return array(
    'blockreference_item_simple' => array(
      'variables' => array(
        'item' => NULL,
      ),
    ),
    'blockreference_formatter_default' => array(
      'variables' => array(
        'element' => NULL,
      ),
    ),
    'blockreference_formatter_without_title' => array(
      'variables' => array(
        'element' => NULL,
      ),
    ),
    'blockreference_formatter_title' => array(
      'variables' => array(
        'element' => NULL,
      ),
    ),
    'blockreference_formatter_plain' => array(
      'variables' => array(
        'element' => NULL,
      ),
    ),
  );
}