You are here

function ctools_node_comment_form_submit in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 plugins/content_types/node_context/node_comment_form.inc \ctools_node_comment_form_submit()
1 string reference to 'ctools_node_comment_form_submit'
ctools_form_comment_form_alter in ./ctools.module
Alter the comment form to get a little more control over it.

File

./ctools.module, line 750
CTools primary module file.

Code

function ctools_node_comment_form_submit(&$form, &$form_state) {
  $form_state['redirect'][0] = $_GET['q'];
}