public function CallbackTest::providerCallback in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::providerCallback()
Data provider for ::testCallback().
File
- core/
modules/ migrate/ tests/ src/ Unit/ process/ CallbackTest.php, line 29
Class
- CallbackTest
- Tests the callback process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function providerCallback() {
return [
'function' => [
'strtolower',
],
'class method' => [
[
self::class,
'strtolower',
],
],
];
}