You are here

public function CallbackTest::providerCallback in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::providerCallback()
  2. 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 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',
      ],
    ],
  ];
}