function ViewsHandlerTestXss::dataHelper

3.x views_handler_field_xss.test ViewsHandlerTestXss::dataHelper()
1 call to ViewsHandlerTestXss::dataHelper()

File

tests/handlers/views_handler_field_xss.test, line 22
Definition of ViewsHandlerTestXss.

Class

ViewsHandlerTestXss
Tests the core views_handler_field_css handler.

Code

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

  return $map;
}