function FieldXssTest::dataHelper

1 call to FieldXssTest::dataHelper()
FieldXssTest::testFieldXss in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldXssTest.php

File

drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldXssTest.php, line 34
Definition of Drupal\views\Tests\Handler\FieldXssTest.

Class

FieldXssTest
Tests the core Drupal\views\Plugin\views\field\Xss handler.

Namespace

Drupal\views\Tests\Handler

Code

function dataHelper() {
  $map = array(
    'John' => 'John',
    "" => '',
    'Fooÿñ' => 'Fooÿñ',
  );
  return $map;
}