function FilterHtmlCorrector::process
Same name in other branches
- 9 core/modules/filter/src/Plugin/Filter/FilterHtmlCorrector.php \Drupal\filter\Plugin\Filter\FilterHtmlCorrector::process()
- 8.9.x core/modules/filter/src/Plugin/Filter/FilterHtmlCorrector.php \Drupal\filter\Plugin\Filter\FilterHtmlCorrector::process()
- 11.x core/modules/filter/src/Plugin/Filter/FilterHtmlCorrector.php \Drupal\filter\Plugin\Filter\FilterHtmlCorrector::process()
Overrides FilterInterface::process
File
-
core/
modules/ filter/ src/ Plugin/ Filter/ FilterHtmlCorrector.php, line 26
Class
- FilterHtmlCorrector
- Provides a filter to correct faulty and chopped off HTML.
Namespace
Drupal\filter\Plugin\FilterCode
public function process($text, $langcode) {
return new FilterProcessResult(Html::normalize($text));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.