diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-05-05 06:55:25 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-05-05 06:55:25 +0000 |
commit | a2d6297055e6abdcd1a811b34b7fb463fcb50c0c (patch) | |
tree | a4528b2ac03d9b4d2a8087f43a2fd1911b9d1370 /modules/node/node.api.php | |
parent | adc9bc1845b8400f45dc790c6376531830782917 (diff) | |
download | brdo-a2d6297055e6abdcd1a811b34b7fb463fcb50c0c.tar.gz brdo-a2d6297055e6abdcd1a811b34b7fb463fcb50c0c.tar.bz2 |
#771922 by andypost: Remove t() from schema description of picture field.
Diffstat (limited to 'modules/node/node.api.php')
-rw-r--r-- | modules/node/node.api.php | 15 |
1 files changed, 0 insertions, 15 deletions
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'), |