You are here

DefaultValueSanitizeUnitTest.inc in Coder 8.3.x

File

tests/DrupalPractice/FunctionCalls/DefaultValueSanitizeUnitTest.inc
View source
<?php

$form['test'] = array(
  '#type' => 'textfield',
  '#title' => t('Test'),
  '#default_value' => check_plain(variable_get('test')),
);