function context_form_alter_node_validate in Context 6.3
Same name and namespace in other branches
- 6.2 context.core.inc \context_form_alter_node_validate()
Node form validation callback.
Set context also on validate, otherwise forms that don't validate drop out of context.
1 string reference to 'context_form_alter_node_validate'
- context_form_alter in ./
context.core.inc - Implementation of hook_form_alter().
File
- ./
context.core.inc, line 191
Code
function context_form_alter_node_validate($form, &$form_state) {
context_node_condition($form['#node'], 'form');
}