You are here

function ViewsHandlerTestXss::dataHelper in Views (for Drupal 7) 7.3

1 call to ViewsHandlerTestXss::dataHelper()
ViewsHandlerTestXss::testFieldXss in tests/handlers/views_handler_field_xss.test

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ÿñ' => 'Fooÿñ',
  );
  return $map;
}