You are here

prepopulate_test_unsafe.module in Prepopulate 8.2

Hooks for the prepopulate_test_unsafe module.

File

tests/modules/prepopulate_test_unsafe/prepopulate_test_unsafe.module
View source
<?php

/**
 * @file
 * Hooks for the prepopulate_test_unsafe module.
 */

/**
 * Implements hook_prepopulate_whitelist_alter().
 */
function prepopulate_test_unsafe_prepopulate_whitelist_alter(array &$whitelisted_types) {
  $whitelisted_types[] = 'checkbox';
  $whitelisted_types[] = 'checkboxes';
  $whitelisted_types[] = 'radio';
  $whitelisted_types[] = 'radios';
}