1.20.x node.module node_theme()

Implements hook_theme().

File

modules/node/node.module, line 81
The core module that allows content to be submitted to the site.

Code

function node_theme() {
  $base = array(
    'file' => 'node.theme.inc',
  );

  return array(
    'node' => array(
      'render element' => 'elements',
      'template' => 'templates/node',
    ) + $base,
    'node_search_factors' => array(
      'render element' => 'element',
    ) + $base,
    'node_preview_banner_form' => array(
      'render element' => 'form',
    ) + $base,
    'node_add_list' => array(
      'variables' => array('content' => NULL),
    ) + $base,
    'node_admin_overview' => array(
      'variables' => array('name' => NULL, 'type' => NULL),
    ) + $base,
    'node_recent_block' => array(
      'variables' => array('nodes' => NULL),
    ) + $base,
    'node_recent_content' => array(
      'variables' => array('node' => NULL),
    ) + $base,
    'node_type_form_permissions' => array(
      'render element' => 'form',
      'function' => 'theme_user_admin_permissions',
    ),
  );
}