function node_theme
Same name in other branches
- 9 core/modules/node/node.module \node_theme()
- 8.9.x core/modules/node/node.module \node_theme()
- 10 core/modules/node/node.module \node_theme()
- 11.x core/modules/node/node.module \node_theme()
Implements hook_theme().
File
-
modules/
node/ node.module, line 125
Code
function node_theme() {
return array(
'node' => array(
'render element' => 'elements',
'template' => 'node',
),
'node_search_admin' => array(
'render element' => 'form',
),
'node_add_list' => array(
'variables' => array(
'content' => NULL,
),
'file' => 'node.pages.inc',
),
'node_preview' => array(
'variables' => array(
'node' => NULL,
),
'file' => 'node.pages.inc',
),
'node_admin_overview' => array(
'variables' => array(
'name' => NULL,
'type' => NULL,
),
'file' => 'content_types.inc',
),
'node_recent_block' => array(
'variables' => array(
'nodes' => NULL,
),
),
'node_recent_content' => array(
'variables' => array(
'node' => NULL,
),
),
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.