function CounterTest::providerRowIndexes
Same name and namespace in other branches
- 9 core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php \Drupal\Tests\views\Unit\Plugin\field\CounterTest::providerRowIndexes()
- 8.9.x core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php \Drupal\Tests\views\Unit\Plugin\field\CounterTest::providerRowIndexes()
- 11.x 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 103
Class
- CounterTest
- @coversDefaultClass <a href="/api/drupal/core%21modules%21views%21src%21Plugin%21views%21field%21Counter.php/class/Counter/10" title="Field handler to show a counter of the current row." class="local">\Drupal\views\Plugin\views\field\Counter</a> @group views
Namespace
Drupal\Tests\views\Unit\Plugin\fieldCode
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.