function filter_formats_reset
Same name in other branches
- 7.x modules/filter/filter.module \filter_formats_reset()
- 8.9.x core/modules/filter/filter.module \filter_formats_reset()
- 10 core/modules/filter/filter.module \filter_formats_reset()
- 11.x core/modules/filter/filter.module \filter_formats_reset()
Resets the text format caches.
See also
7 calls to filter_formats_reset()
- FilterAdminTest::testFilterAdmin in core/
modules/ filter/ tests/ src/ Functional/ FilterAdminTest.php - Tests filter administration functionality.
- FilterDefaultFormatTest::resetFilterCaches in core/
modules/ filter/ tests/ src/ Functional/ FilterDefaultFormatTest.php - Rebuilds text format and permission caches in the thread running the tests.
- FilterFormat::disable in core/
modules/ filter/ src/ Entity/ FilterFormat.php - Disables the configuration entity.
- FilterFormat::postSave in core/
modules/ filter/ src/ Entity/ FilterFormat.php - Acts on a saved entity before the insert or update hook is invoked.
- FilterFormatAccessTest::resetFilterCaches in core/
modules/ filter/ tests/ src/ Functional/ FilterFormatAccessTest.php - Rebuilds text format and permission caches in the thread running the tests.
File
-
core/
modules/ filter/ filter.module, line 136
Code
function filter_formats_reset() {
drupal_static_reset('filter_formats');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.