1 views_handler_field_xss.test ViewsHandlerTestXss::dataHelper()

File

core/modules/views/tests/handlers/views_handler_field_xss.test, line 15
Definition of ViewsHandlerTestXss.

Class

ViewsHandlerTestXss
Tests the core views_handler_field_css handler.

Code

function dataHelper() {
  $map = array(
    'John' => 'John',
    "Foo\xC0barbaz" => '',
    // cspell:disable-next-line
    'Fooÿñ' => 'Fooÿñ'
  );

  return $map;
}