function system_message_action_form in Drupal 6
Same name and namespace in other branches
- 7 modules/system/system.module \system_message_action_form()
File
- modules/
system/ system.module, line 1836 - Configuration system that lets administrators modify the workings of the site.
Code
function system_message_action_form($context) {
$form['message'] = array(
'#type' => 'textarea',
'#title' => t('Message'),
'#default_value' => isset($context['message']) ? $context['message'] : '',
'#required' => TRUE,
'#rows' => '8',
'#description' => t('The message to be displayed to the current user. You may include the following variables: %site_name, %username, %node_url, %node_type, %title, %teaser, %body. Not all variables will be available in all contexts.'),
);
return $form;
}