You are here

function webform_module_implements_alter in Webform 6.x

Same name and namespace in other branches
  1. 8.5 webform.module \webform_module_implements_alter()

Implements hook_module_implements_alter().

File

./webform.module, line 294
Enables the creation of webforms and questionnaires.

Code

function webform_module_implements_alter(&$implementations, $hook) {
  if ($hook === 'form_alter') {
    $implementation = $implementations['webform'];
    unset($implementations['webform']);
    $implementations['webform'] = $implementation;
  }
}