protected function ExplodeTest::getPluginWithLimit in Tamper 8
Returns default limit setting for the plugin for this test.
Return value
\Drupal\tamper\Plugin\Tamper\Explode A explode tamper plugin instance.
File
- tests/
src/ Unit/ Plugin/ Tamper/ ExplodeTest.php, line 77
Class
- ExplodeTest
- Tests the explode plugin.
Namespace
Drupal\Tests\tamper\Unit\Plugin\TamperCode
protected function getPluginWithLimit() {
$config = [
Explode::SETTING_LIMIT => 2,
];
return new Explode($config, 'explode', [], $this
->getMockSourceDefinition());
}