function ValidatorsTest::setUp

Same name and namespace in other branches
  1. 11.x core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php \Drupal\Tests\ckeditor5\Kernel\ValidatorsTest::setUp()
  2. 10 core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php \Drupal\Tests\ckeditor5\Kernel\ValidatorsTest::setUp()
  3. 9 core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php \Drupal\Tests\ckeditor5\Kernel\ValidatorsTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php, line 72

Class

ValidatorsTest
Tests Validators.

Namespace

Drupal\Tests\ckeditor5\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->typedConfig = $this->container
    ->get('config.typed');
  $this->installConfig([
    'system',
  ]);
  // Avoid needing to install the Stark theme.
  $this->config('system.theme')
    ->delete();
}

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