You are here

function node_theme in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/node/node.module \node_theme()
  2. 7 modules/node/node.module \node_theme()
  3. 9 core/modules/node/node.module \node_theme()

Implementation of hook_theme()

File

modules/node/node.module, line 72
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

function node_theme() {
  return array(
    'node' => array(
      'arguments' => array(
        'node' => NULL,
        'teaser' => FALSE,
        'page' => FALSE,
      ),
      'template' => 'node',
    ),
    'node_list' => array(
      'arguments' => array(
        'items' => NULL,
        'title' => NULL,
      ),
    ),
    'node_search_admin' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'node_filter_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'file' => 'node.admin.inc',
    ),
    'node_filters' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'file' => 'node.admin.inc',
    ),
    'node_admin_nodes' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'file' => 'node.admin.inc',
    ),
    'node_add_list' => array(
      'arguments' => array(
        'content' => NULL,
      ),
      'file' => 'node.pages.inc',
    ),
    'node_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'file' => 'node.pages.inc',
    ),
    'node_preview' => array(
      'arguments' => array(
        'node' => NULL,
      ),
      'file' => 'node.pages.inc',
    ),
    'node_log_message' => array(
      'arguments' => array(
        'log' => NULL,
      ),
    ),
    'node_submitted' => array(
      'arguments' => array(
        'node' => NULL,
      ),
    ),
  );
}