1.20.x views_handler_field_xss.test ViewsHandlerTestXss::dataHelper()

File

modules/views/tests/handlers/views_handler_field_xss.test, line 16
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;
}