Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
email
Commits
3d5c1853
Commit
3d5c1853
authored
Aug 16, 2006
by
Matthias Hutterer
Browse files
#78976, description for fields added
parent
4afa0aa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
email.module
email.module
+2
-0
No files found.
email.module
View file @
3d5c1853
...
...
@@ -142,6 +142,7 @@ function email_widget($op, &$node, $field, &$node_field) {
'#maxlength'
=>
255
,
'#weight'
=>
$field
[
'widget'
][
'weight'
],
'#size'
=>
isset
(
$field
[
'widget'
][
'size'
])
?
$field
[
'widget'
][
'size'
]
:
60
,
'#description'
=>
isset
(
$field
[
'widget'
][
'description'
])
?
$field
[
'widget'
][
'description'
]
:
''
,
);
}
}
...
...
@@ -154,6 +155,7 @@ function email_widget($op, &$node, $field, &$node_field) {
'#maxlength'
=>
255
,
'#weight'
=>
$field
[
'widget'
][
'weight'
],
'#size'
=>
isset
(
$field
[
'widget'
][
'size'
])
?
$field
[
'widget'
][
'size'
]
:
60
,
'#description'
=>
isset
(
$field
[
'widget'
][
'description'
])
?
$field
[
'widget'
][
'description'
]
:
''
,
);
}
...
...
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