function FilterDefaultFormatTest::resetFilterCaches
Same name in other branches
- 9 core/modules/filter/tests/src/Functional/FilterDefaultFormatTest.php \Drupal\Tests\filter\Functional\FilterDefaultFormatTest::resetFilterCaches()
- 8.9.x core/modules/filter/tests/src/Functional/FilterDefaultFormatTest.php \Drupal\Tests\filter\Functional\FilterDefaultFormatTest::resetFilterCaches()
- 10 core/modules/filter/tests/src/Functional/FilterDefaultFormatTest.php \Drupal\Tests\filter\Functional\FilterDefaultFormatTest::resetFilterCaches()
Rebuilds text format and permission caches in the thread running the tests.
1 call to FilterDefaultFormatTest::resetFilterCaches()
- FilterDefaultFormatTest::testDefaultTextFormats in core/
modules/ filter/ tests/ src/ Functional/ FilterDefaultFormatTest.php - Tests if the default text format is accessible to users.
File
-
core/
modules/ filter/ tests/ src/ Functional/ FilterDefaultFormatTest.php, line 85
Class
- FilterDefaultFormatTest
- Tests the default text formats for different users.
Namespace
Drupal\Tests\filter\FunctionalCode
protected function resetFilterCaches() : void {
filter_formats_reset();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.