function FilterBaseTestableClass::process

Same name in other branches
  1. 11.x core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php \Drupal\Tests\filter\Unit\FilterBaseTestableClass::process()

Overrides FilterInterface::process

File

core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php, line 174

Class

FilterBaseTestableClass
A class extending FilterBase for testing purposes.

Namespace

Drupal\Tests\filter\Unit

Code

public function process($text, $langcode) {
    return new FilterProcessResult();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.