SearchExcerptTest::$modules

Same name in other branches
  1. 8.9.x core/modules/search/tests/src/Kernel/SearchExcerptTest.php \Drupal\Tests\search\Kernel\SearchExcerptTest::modules
  2. 10 core/modules/search/tests/src/Kernel/SearchExcerptTest.php \Drupal\Tests\search\Kernel\SearchExcerptTest::modules
  3. 11.x core/modules/search/tests/src/Kernel/SearchExcerptTest.php \Drupal\Tests\search\Kernel\SearchExcerptTest::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/search/tests/src/Kernel/SearchExcerptTest.php, line 19

Class

SearchExcerptTest
Tests the search_excerpt() function.

Namespace

Drupal\Tests\search\Kernel

Code

protected static $modules = [
    'search',
    'search_langcode_test',
];

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