function spaces_shoutbox_form in Spaces 5.2
Same name and namespace in other branches
- 5 spaces_shoutbox/spaces_shoutbox.module \spaces_shoutbox_form()
Implementation of hook_form()
File
- spaces_shoutbox/
spaces_shoutbox.module, line 38
Code
function spaces_shoutbox_form(&$node) {
$form['title'] = array(
'#type' => 'textfield',
'#title' => t('Text'),
'#required' => true,
'#default_value' => $node->title,
);
return $form;
}