function ctools_node_comment_form_content_type_edit_form
File
-
plugins/
content_types/ node_context/ node_comment_form.inc, line 61
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'],
);
return $form;
}