You are here

function spaces_shoutbox_form in Spaces 5

Same name and namespace in other branches
  1. 5.2 spaces_shoutbox/spaces_shoutbox.module \spaces_shoutbox_form()

Implementation of hook_form()

File

spaces_shoutbox/spaces_shoutbox.module, line 20

Code

function spaces_shoutbox_form(&$node) {
  $form['title'] = array(
    '#type' => 'textfield',
    '#title' => t('Text'),
    '#required' => true,
    '#default_value' => $node->title,
  );
  return $form;
}