function StatisticsViewsResultTest::providerTestStatisticsCount

Same name in other branches
  1. 9 core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php \Drupal\Tests\statistics\Unit\StatisticsViewsResultTest::providerTestStatisticsCount()
  2. 10 core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php \Drupal\Tests\statistics\Unit\StatisticsViewsResultTest::providerTestStatisticsCount()
  3. 11.x core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php \Drupal\Tests\statistics\Unit\StatisticsViewsResultTest::providerTestStatisticsCount()

File

core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php, line 28

Class

StatisticsViewsResultTest
@coversDefaultClass \Drupal\statistics\StatisticsViewsResult @group statistics

Namespace

Drupal\Tests\statistics\Unit

Code

public function providerTestStatisticsCount() {
    return [
        [
            2,
            0,
            1421727536,
        ],
        [
            1,
            0,
            1471428059,
        ],
        [
            1,
            1,
            1478755275,
        ],
        [
            '1',
            '1',
            '1478755275',
        ],
    ];
}

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