function contentanalysisexample_node_form_submit in Content Analysis 6
Same name and namespace in other branches
- 8 APIEXAMPLE/contentanalysisexample.module \contentanalysisexample_node_form_submit()
- 7 APIEXAMPLE/contentanalysisexample.module \contentanalysisexample_node_form_submit()
Implementation of hook_node_form_submit() via custom define callback
Parameters
$form: Array defined by form_api
$form_state: Array defined by form_api
1 string reference to 'contentanalysisexample_node_form_submit'
- contentanalysisexample_contentanalysis_analyzers in APIEXAMPLE/
contentanalysisexample.module - Implentation of hook_contentanalysis_analyzers() register contentanalysisexample with contentanalysis analyzers registry
File
- APIEXAMPLE/
contentanalysisexample.module, line 55 - An example content analyzer using the Content Analysis API
Code
function contentanalysisexample_node_form_submit($form, &$form_state) {
drupal_set_message(t('You actually submitted that dribble. Come on, you can do better. If you don\\t like this relentless taunting, disable the content analysis example module'));
}