public function 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.

bool $cache: A Boolean indicating whether the filtered text is going to be cached in {cache_filter}.

string $cache_id: The ID of the filtered text in {cache_filter}, if $cache is TRUE.

Return value

string The filtered text.

9 methods override FilterInterface::process()
FilterAutoP::process in drupal/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterAutoP.php
Performs the filter processing.
FilterHtml::process in drupal/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtml.php
Performs the filter processing.
FilterHtmlCorrector::process in drupal/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlCorrector.php
Performs the filter processing.
FilterHtmlEscape::process in drupal/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlEscape.php
Performs the filter processing.
FilterHtmlImageSecure::process in drupal/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlImageSecure.php
Performs the filter processing.

... See full list

File

drupal/core/modules/filter/lib/Drupal/filter/Plugin/FilterInterface.php, line 176
Contains \Drupal\filter\Plugin\Filter\FilterInterface.

Class

FilterInterface
Defines the interface for text processing filter plugins.

Namespace

Drupal\filter\Plugin

Code

public function process($text, $langcode, $cache, $cache_id);