function TextSummaryTest::setUp

Overrides KernelTestBase::setUp

File

core/modules/text/tests/src/Kernel/TextSummaryTest.php, line 40

Class

TextSummaryTest
Tests text_summary() with different strings and lengths.

Namespace

Drupal\Tests\text\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->installConfig([
    'text',
  ]);
}

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