function HtmlTest::providerDecodeEntities
Data provider for testDecodeEntities().
See also
testDecodeEntities()
File
- 
              core/tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php, line 252 
Class
Namespace
Drupal\Tests\Component\UtilityCode
public static function providerDecodeEntities() {
  return [
    [
      'Drupal',
      'Drupal',
    ],
    [
      '<script>',
      '<script>',
    ],
    [
      '<script>',
      '<script>',
    ],
    [
      '<script>',
      '<script>',
    ],
    [
      '&lt;script&gt;',
      '<script>',
    ],
    [
      '"',
      '"',
    ],
    [
      '"',
      '"',
    ],
    [
      '&#34;',
      '"',
    ],
    [
      '"',
      '"',
    ],
    [
      '&quot;',
      '"',
    ],
    [
      "'",
      "'",
    ],
    [
      ''',
      "'",
    ],
    [
      '&#39;',
      ''',
    ],
    [
      '©',
      '©',
    ],
    [
      '©',
      '©',
    ],
    [
      '©',
      '©',
    ],
    [
      '→',
      '→',
    ],
    [
      '→',
      '→',
    ],
    [
      '➼',
      '➼',
    ],
    [
      '➼',
      '➼',
    ],
    [
      '€',
      '€',
    ],
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
