function FilterDefaultConfigTest::setUp
Same name in other branches
- 8.9.x core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php \Drupal\Tests\filter\Kernel\FilterDefaultConfigTest::setUp()
- 10 core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php \Drupal\Tests\filter\Kernel\FilterDefaultConfigTest::setUp()
- 11.x core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php \Drupal\Tests\filter\Kernel\FilterDefaultConfigTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ filter/ tests/ src/ Kernel/ FilterDefaultConfigTest.php, line 21
Class
- FilterDefaultConfigTest
- Tests text format default configuration.
Namespace
Drupal\Tests\filter\KernelCode
protected function setUp() : void {
parent::setUp();
// Drupal\filter\FilterPermissions::permissions() builds a URL to output
// a link in the description.
$this->installEntitySchema('user');
// Install filter_test module, which ships with custom default format.
$this->installConfig([
'user',
'filter_test',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.