JsonTest::$htmlUnsafe

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/Serialization/JsonTest.php \Drupal\Tests\Component\Serialization\JsonTest::htmlUnsafe
  2. 8.9.x core/tests/Drupal/Tests/Component/Serialization/JsonTest.php \Drupal\Tests\Component\Serialization\JsonTest::htmlUnsafe
  3. 11.x core/tests/Drupal/Tests/Component/Serialization/JsonTest.php \Drupal\Tests\Component\Serialization\JsonTest::htmlUnsafe

An array of unsafe html characters which has to be encoded.

Type: array

File

core/tests/Drupal/Tests/Component/Serialization/JsonTest.php, line 28

Class

JsonTest
@coversDefaultClass \Drupal\Component\Serialization\Json @group Serialization

Namespace

Drupal\Tests\Component\Serialization

Code

protected $htmlUnsafe;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.