function FieldXssTest::dataHelper in Views (for Drupal 7) 8.3
1 call to FieldXssTest::dataHelper()
- FieldXssTest::testFieldXss in lib/
Drupal/ views/ Tests/ Handler/ FieldXssTest.php
File
- lib/
Drupal/ views/ Tests/ Handler/ FieldXssTest.php, line 31 - Definition of Drupal\views\Tests\Handler\FieldXssTest.
Class
- FieldXssTest
- Tests the core Drupal\views\Plugin\views\field\Xss handler.
Namespace
Drupal\views\Tests\HandlerCode
function dataHelper() {
$map = array(
'John' => 'John',
"" => '',
'Fooÿñ' => 'Fooÿñ',
);
return $map;
}