You are here

protected function UrlDecodeTest::instantiatePlugin in Tamper 8

Instantiates a plugin.

Return value

\Drupal\tamper\TamperInterface A tamper plugin.

Overrides TamperPluginTestBase::instantiatePlugin

File

tests/src/Unit/Plugin/Tamper/UrlDecodeTest.php, line 19

Class

UrlDecodeTest
Tests the url decode plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

protected function instantiatePlugin() {
  return new UrlDecode([], 'url_decode', [], $this
    ->getMockSourceDefinition());
}