protected function KeywordFilterTest::instantiatePlugin in Tamper 8
Instantiates a plugin.
Return value
\Drupal\tamper\TamperInterface A tamper plugin.
Overrides TamperPluginTestBase::instantiatePlugin
File
- tests/
src/ Unit/ Plugin/ Tamper/ KeywordFilterTest.php, line 18
Class
- KeywordFilterTest
- Tests the keyword filter plugin.
Namespace
Drupal\Tests\tamper\Unit\Plugin\TamperCode
protected function instantiatePlugin() {
return new KeywordFilter([], 'keyword_filter', [], $this
->getMockSourceDefinition());
}