function ctools_node_comment_form_submit in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 ctools.module \ctools_node_comment_form_submit()
1 string reference to 'ctools_node_comment_form_submit'
- ctools_form_comment_form_alter in plugins/
content_types/ node_context/ node_comment_form.inc - Alter the comment form to get a little more control over it.
File
- plugins/
content_types/ node_context/ node_comment_form.inc, line 87
Code
function ctools_node_comment_form_submit(&$form, &$form_state) {
$form_state['redirect'][0] = $_GET['q'];
}