protected function ImplodeTest::instantiatePlugin in Tamper 8
Instantiates a plugin.
Return value
\Drupal\tamper\TamperInterface A tamper plugin.
Overrides TamperPluginTestBase::instantiatePlugin
File
- tests/
src/ Unit/ Plugin/ Tamper/ ImplodeTest.php, line 19
Class
- ImplodeTest
- Tests the implode plugin.
Namespace
Drupal\Tests\tamper\Unit\Plugin\TamperCode
protected function instantiatePlugin() {
$config = [
Implode::SETTING_GLUE => ',',
];
return new Implode($config, 'implode', [], $this
->getMockSourceDefinition());
}