You are here

protected function EncodeTest::instantiatePlugin in Tamper 8

Instantiates a plugin.

Return value

\Drupal\tamper\TamperInterface A tamper plugin.

Overrides TamperPluginTestBase::instantiatePlugin

File

tests/src/Unit/Plugin/Tamper/EncodeTest.php, line 20

Class

EncodeTest
Tests the encode / decode plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

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