You are here

function webform_component_implements in Webform 6.3

Same name and namespace in other branches
  1. 7.4 webform.module \webform_component_implements()
  2. 7.3 webform.module \webform_component_implements()

Check if a component implements a particular hook.

Parameters

$type: The component type as a string.

$callback: The callback to check.

2 calls to webform_component_implements()
webform_submission_send_mail in includes/webform.submissions.inc
Send related e-mails related to a submission.
_webform_client_form_submit_process in ./webform.module
Post processes the submission tree with any updates from components.

File

./webform.module, line 3405

Code

function webform_component_implements($type, $callback) {
  $function = '_webform_' . $callback . '_' . $type;
  webform_component_include($type);
  return function_exists($function);
}