function ctools_node_comment_form_content_type_edit_form in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 plugins/content_types/node_context/node_comment_form.inc \ctools_node_comment_form_content_type_edit_form()
File
- plugins/
content_types/ node_context/ node_comment_form.inc, line 52
Code
function ctools_node_comment_form_content_type_edit_form(&$form, &$form_state) {
$form['anon_links'] = array(
'#type' => 'checkbox',
'#title' => t('Shows links to register or login.'),
'#description' => t('If anonymous comments are not allowed, this will display the register and login links.'),
'#default_value' => $form_state['conf']['anon_links'],
);
}