Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
de1c5195
Commit
de1c5195
authored
Sep 25, 2007
by
Gábor Hojtsy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#176367
by chx: not all node type have body labels, so this might not be set
parent
a8d2453b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/node/content_types.inc
modules/node/content_types.inc
+1
-1
No files found.
modules/node/content_types.inc
View file @
de1c5195
...
...
@@ -129,7 +129,7 @@ function node_type_form(&$form_state, $type = NULL) {
$form
[
'submission'
][
'body_label'
]
=
array
(
'#title'
=>
t
(
'Body field label'
),
'#type'
=>
'textfield'
,
'#default_value'
=>
$type
->
body_label
,
'#default_value'
=>
isset
(
$type
->
body_label
)
?
$type
->
body_label
:
''
,
'#description'
=>
t
(
'To omit the body field for this content type, remove any text and leave this field blank.'
),
);
$form
[
'submission'
][
'min_word_count'
]
=
array
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment