You are here

protected function TransliterationTest::instantiatePlugin in Tamper 8

Instantiates a plugin.

Return value

\Drupal\tamper\TamperInterface A tamper plugin.

Overrides TamperPluginTestBase::instantiatePlugin

File

tests/src/Unit/Plugin/Tamper/TransliterationTest.php, line 26

Class

TransliterationTest
Tests the transliteration plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

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