You are here

protected function ArrayFilterTest::instantiatePlugin in Tamper 8

Instantiates a plugin.

Return value

\Drupal\tamper\TamperInterface A tamper plugin.

Overrides TamperPluginTestBase::instantiatePlugin

File

tests/src/Unit/Plugin/Tamper/ArrayFilterTest.php, line 19

Class

ArrayFilterTest
Tests the array filter plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

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