You are here

public function LinkManagerTest::getPagerLinksErrorProvider in JSON:API 8

Data provider for testGetPagerLinksError.

Return value

array The data for the test method.

File

tests/src/Unit/LinkManager/LinkManagerTest.php, line 169

Class

LinkManagerTest
@coversDefaultClass \Drupal\jsonapi\LinkManager\LinkManager @group jsonapi

Namespace

Drupal\Tests\jsonapi\Unit\LinkManager

Code

public function getPagerLinksErrorProvider() {
  return [
    [
      0,
      -5,
      FALSE,
      10,
      TRUE,
      [
        'first' => NULL,
        'prev' => NULL,
        'last' => NULL,
        'next' => NULL,
      ],
    ],
  ];
}