You are here

function hook_webform_variant_info_alter in Webform 6.x

Same name and namespace in other branches
  1. 8.5 webform.api.php \hook_webform_variant_info_alter()

Alter the information provided in \Drupal\webform\Annotation\WebformVariant.

Parameters

array $variants: The array of webform variants, keyed on the machine-readable handler name.

1 invocation of hook_webform_variant_info_alter()
WebformVariantManager::__construct in src/Plugin/WebformVariantManager.php
Constructs a WebformVariantManager object.

File

./webform.api.php, line 39
Hooks related to Webform module.

Code

function hook_webform_variant_info_alter(array &$variants) {
}