public function ResultTest::providerTestResultArea in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php \Drupal\Tests\views\Unit\Plugin\area\ResultTest::providerTestResultArea()
- 10 core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php \Drupal\Tests\views\Unit\Plugin\area\ResultTest::providerTestResultArea()
Data provider for testResultArea.
Return value
array
File
- core/
modules/ views/ tests/ src/ Unit/ Plugin/ area/ ResultTest.php, line 90
Class
- ResultTest
- @coversDefaultClass \Drupal\views\Plugin\views\area\Result @group views
Namespace
Drupal\Tests\views\Unit\Plugin\areaCode
public function providerTestResultArea() {
return [
[
'@label',
'ResultTest',
],
[
'@start',
'1',
],
[
'@start',
'1',
1,
],
[
'@end',
'100',
],
[
'@end',
'1',
1,
],
[
'@total',
'100',
],
[
'@total',
'100',
1,
],
[
'@per_page',
'0',
],
[
'@per_page',
'1',
1,
],
[
'@current_page',
'1',
],
[
'@current_page',
'1',
1,
],
[
'@current_record_count',
'100',
],
[
'@current_record_count',
'1',
1,
],
[
'@page_count',
'1',
],
[
'@page_count',
'100',
1,
],
[
'@start | @end | @total',
'1 | 100 | 100',
],
[
'@start | @end | @total',
'1 | 1 | 100',
1,
],
];
}