function CallbackTest::providerCallback

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::providerCallback()
  2. 10 core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::providerCallback()
  3. 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 30

Class

CallbackTest
Tests the callback process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

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.