node_theme

node_theme()

Implements hook_theme().

File

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

Code

function node_theme() {
  return array(
    'node' => array(
      'render element' => 'elements',
    ),
    'node_add_list' => array(
      'variables' => array('content' => NULL),
    ),
    'node_edit_form' => array(
      'render element' => 'form',
    ),
    'field__node__title' => array(
      'base hook' => 'field',
    ),
    'field__node__uid' => array(
      'base hook' => 'field',
    ),
    'field__node__created' => array(
      'base hook' => 'field',
    ),
  );
}
doc_Drupal
2016-10-29 09:31:58
Comments
Leave a Comment

Please login to continue.