function PagerPluginBaseTest::testGetOffset
Tests the getOffset() method.
See also
\Drupal\views\Plugin\views\pager\PagerPluginBase::getOffset()
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ pager/ PagerPluginBaseTest.php, line 75
Class
- PagerPluginBaseTest
- @coversDefaultClass \Drupal\views\Plugin\views\pager\PagerPluginBase[[api-linebreak]] @group views
Namespace
Drupal\Tests\views\Unit\Plugin\pagerCode
public function testGetOffset() : void {
$this->assertEquals(1, $this->pager
->getOffset());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.