StandardTest::$format

Same name and namespace in other branches
  1. 9 core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php \Drupal\Tests\editor\Unit\EditorXssFilter\StandardTest::format
  2. 8.9.x core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php \Drupal\Tests\editor\Unit\EditorXssFilter\StandardTest::format
  3. 10 core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php \Drupal\Tests\editor\Unit\EditorXssFilter\StandardTest::format

The mocked text format configuration entity.

Type: \Drupal\filter\Entity\FilterFormat|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php, line 26

Class

StandardTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21editor%21src%21EditorXssFilter%21Standard.php/class/Standard/11.x" title="Defines the standard text editor XSS filter." class="local">\Drupal\editor\EditorXssFilter\Standard</a> @group editor

Namespace

Drupal\Tests\editor\Unit\EditorXssFilter

Code

protected $format;

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