You are here

function contentanalysisexample_node_form_submit in Content Analysis 8

Same name and namespace in other branches
  1. 6 APIEXAMPLE/contentanalysisexample.module \contentanalysisexample_node_form_submit()
  2. 7 APIEXAMPLE/contentanalysisexample.module \contentanalysisexample_node_form_submit()

Implements 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
Implements 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 rubbish? Come on, you can do better. If you don\'t like this relentless taunting, disable the Content Analysis Example module'));
}