You are here

public function EventTrackerServiceTest::checkoutOptionDataProvider in Commerce Google Tag Manager 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/EventTrackerServiceTest.php \Drupal\Tests\commerce_google_tag_manager\Unit\EventTrackerServiceTest::checkoutOptionDataProvider()

Get checkout option data as tupel (step,option).

Return value

array The checkout options data.

File

tests/src/Unit/EventTrackerServiceTest.php, line 321

Class

EventTrackerServiceTest
Tests for the EventTracker service.

Namespace

Drupal\Tests\commerce_google_tag_manager\Unit

Code

public function checkoutOptionDataProvider() {
  return [
    [
      1,
      'Some option',
    ],
    [
      3,
      'Visa',
    ],
  ];
}