function PagerDeprecationTest::testGetQueryParameters

@expectedDeprecation pager_get_query_parameters is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\PagerParametersInterface->getQueryParameters() instead. See https://www.drupal.org/node/2779457

File

core/modules/system/tests/src/Kernel/Pager/PagerDeprecationTest.php, line 32

Class

PagerDeprecationTest
Ensure that deprecated pager functions trigger deprecation errors.

Namespace

Drupal\Tests\system\Kernel\Pager

Code

public function testGetQueryParameters() {
    $this->assertInternalType('array', pager_get_query_parameters());
}

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