public function FilterInterface::process in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/filter/src/Plugin/FilterInterface.php \Drupal\filter\Plugin\FilterInterface::process()
Performs the filter processing.
Parameters
string $text: The text string to be filtered.
string $langcode: The language code of the text to be filtered.
Return value
\Drupal\filter\FilterProcessResult The filtered text, wrapped in a FilterProcessResult object, and possibly with associated assets, cacheability metadata and placeholders.
See also
\Drupal\filter\FilterProcessResult
19 methods override FilterInterface::process()
- EditorFileReference::process in core/
modules/ editor/ src/ Plugin/ Filter/ EditorFileReference.php - Performs the filter processing.
- FilterAlign::process in core/
modules/ filter/ src/ Plugin/ Filter/ FilterAlign.php - Performs the filter processing.
- FilterAutoP::process in core/
modules/ filter/ src/ Plugin/ Filter/ FilterAutoP.php - Performs the filter processing.
- FilterCaption::process in core/
modules/ filter/ src/ Plugin/ Filter/ FilterCaption.php - Performs the filter processing.
- FilterHtml::process in core/
modules/ filter/ src/ Plugin/ Filter/ FilterHtml.php - Performs the filter processing.
File
- core/
modules/ filter/ src/ Plugin/ FilterInterface.php, line 176 - Contains \Drupal\filter\Plugin\FilterInterface.
Class
- FilterInterface
- Defines the interface for text processing filter plugins.
Namespace
Drupal\filter\PluginCode
public function process($text, $langcode);