function CounterTest::providerRowIndexes

Same name in other branches
  1. 9 core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php \Drupal\Tests\views\Unit\Plugin\field\CounterTest::providerRowIndexes()
  2. 8.9.x core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php \Drupal\Tests\views\Unit\Plugin\field\CounterTest::providerRowIndexes()
  3. 10 core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php \Drupal\Tests\views\Unit\Plugin\field\CounterTest::providerRowIndexes()

Provides some row index to test.

Return value

array Returns an array of row index to test.

File

core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php, line 106

Class

CounterTest
@coversDefaultClass \Drupal\views\Plugin\views\field\Counter @group views

Namespace

Drupal\Tests\views\Unit\Plugin\field

Code

public static function providerRowIndexes() {
    return [
        [
            0,
        ],
        [
            1,
        ],
        [
            2,
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.