You are here

protected function FindReplaceRegexTest::instantiatePlugin in Tamper 8

Instantiates a plugin.

Return value

\Drupal\tamper\TamperInterface A tamper plugin.

Overrides TamperPluginTestBase::instantiatePlugin

File

tests/src/Unit/Plugin/Tamper/FindReplaceRegexTest.php, line 18

Class

FindReplaceRegexTest
Tests the find and replace regex plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

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