You are here

protected function HtmlEntityEncodeTest::instantiatePlugin in Tamper 8

Instantiates a plugin.

Return value

\Drupal\tamper\TamperInterface A tamper plugin.

Overrides TamperPluginTestBase::instantiatePlugin

File

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

Class

HtmlEntityEncodeTest
Tests the html entity encode plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

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