public function HtmlTest::providerDecodeEntities in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Component/Utility/HtmlTest.php \Drupal\Tests\Component\Utility\HtmlTest::providerDecodeEntities()
Data provider for testDecodeEntities().
See also
testDecodeEntities()
File
- core/
tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php, line 238 - Contains \Drupal\Tests\Component\Utility\HtmlTest.
Class
Namespace
Drupal\Tests\Component\UtilityCode
public function providerDecodeEntities() {
return array(
array(
'Drupal',
'Drupal',
),
array(
'<script>',
'<script>',
),
array(
'<script>',
'<script>',
),
array(
'<script>',
'<script>',
),
array(
'&lt;script&gt;',
'<script>',
),
array(
'"',
'"',
),
array(
'"',
'"',
),
array(
'&#34;',
'"',
),
array(
'"',
'"',
),
array(
'&quot;',
'"',
),
array(
"'",
"'",
),
array(
''',
"'",
),
array(
'&#39;',
''',
),
array(
'©',
'©',
),
array(
'©',
'©',
),
array(
'©',
'©',
),
array(
'→',
'→',
),
array(
'→',
'→',
),
array(
'➼',
'➼',
),
array(
'➼',
'➼',
),
array(
'€',
'€',
),
);
}