function CallbackTest::providerCallback
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::providerCallback()
- 10 core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::providerCallback()
- 11.x 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',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.