function signature_forum_defaults in Signatures for Forums 5
Same name and namespace in other branches
- 5.2 signature_forum.module \signature_forum_defaults()
- 6 signature_forum.module \signature_forum_defaults()
Default signature settings.
7 calls to signature_forum_defaults()
- signature_forum_admin_settings in ./
signature_forum.module - Admin settings form.
- signature_forum_comment in ./
signature_forum.module - Implementation of hook_comment().
- signature_forum_form_alter in ./
signature_forum.module - Implementation of hook_form_alter().
- signature_forum_logic in ./
signature_forum.module - Signature logic, check content is long enough etc.
- signature_forum_nodeapi in ./
signature_forum.module - Implementation of hook_nodeapi().
File
- ./
signature_forum.module, line 145
Code
function signature_forum_defaults() {
return array(
'signature_forum_template' => "__________________\n<p>%s</p>",
'signature_forum_format' => FILTER_FORMAT_DEFAULT,
'signature_forum_line_limit' => 0,
'signature_forum_min_content_length' => 0,
'signature_forum_min_content_length_action' => MIN_CONTENT_ACTION_DO_NOT_DISPLAY,
'signature_forum_min_content_length_filter' => FILTER_FORMAT_DEFAULT,
);
}