SearchExcerptTest::$modules
Same name and namespace in other branches
- 9 core/modules/search/tests/src/Kernel/SearchExcerptTest.php \Drupal\Tests\search\Kernel\SearchExcerptTest::modules
- 10 core/modules/search/tests/src/Kernel/SearchExcerptTest.php \Drupal\Tests\search\Kernel\SearchExcerptTest::modules
- 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 <a href="/api/drupal/core%21modules%21search%21search.module/function/search_excerpt/8.9.x" title="Returns snippets from a piece of text, with search keywords highlighted." class="local">search_excerpt</a>() function.
Namespace
Drupal\Tests\search\KernelCode
public static $modules = [
'search',
'search_langcode_test',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.