You are here

protected function TamperPluginsTestBase::getPluginInstance in Tamper 7

Returns a new plugin instance.

Parameters

array $settings: (optional) The initial settings.

Return value

TamperPluginInterface A tamper plugin instance.

1 call to TamperPluginsTestBase::getPluginInstance()
TamperConvertCaseTest::test in src/Tests/TamperPlugins.test
Basic functionality tests.

File

src/Tests/TamperPlugins.test, line 81
Contains tests for Tamper plugins.

Class

TamperPluginsTestBase
Base class for Feeds Tamper plugin tests.

Code

protected function getPluginInstance(array $settings = array()) {
  return $this
    ->getPluginDefinition()
    ->createInstance($settings);
}