From a2d6297055e6abdcd1a811b34b7fb463fcb50c0c Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 5 May 2010 06:55:25 +0000 Subject: #771922 by andypost: Remove t() from schema description of picture field. --- modules/node/node.api.php | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'modules/node/node.api.php') diff --git a/modules/node/node.api.php b/modules/node/node.api.php index 76ac111f7..d340d237e 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -771,10 +771,6 @@ function hook_node_view_alter(&$build) { * field. Optional (defaults to TRUE). * - "title_label": the label for the title field of this content type. * Optional (defaults to 'Title'). - * - "has_body": boolean indicating whether or not this node type has a body - * field. Optional (defaults to TRUE). - * - "body_label": the label for the body field of this content type. Optional - * (defaults to 'Body'). * - "locked": boolean indicating whether the administrator can change the * machine name of this type. FALSE = changeable (not locked), * TRUE = unchangeable (locked). Optional (defaults to TRUE). @@ -986,17 +982,6 @@ function hook_prepare($node) { function hook_form($node, $form_state) { $type = node_type_get_type($node); - $form['title'] = array( - '#type' => 'textfield', - '#title' => check_plain($type->title_label), - '#required' => TRUE, - ); - $form['body'] = array( - '#type' => 'textarea', - '#title' => check_plain($type->body_label), - '#rows' => 20, - '#required' => TRUE, - ); $form['field1'] = array( '#type' => 'textfield', '#title' => t('Custom field'), -- cgit v1.2.3