public function HeartbeatEntityQuery::pager in Heartbeat 8
Enables a pager for the query.
Parameters
$limit: An integer specifying the number of elements per page. If passed a false value (FALSE, 0, NULL), the pager is disabled.
$element: An optional integer to distinguish between multiple pagers on one page. If not provided, one is automatically calculated.
Return value
\Drupal\Core\Entity\Query\QueryInterface The called object.
Overrides QueryInterface::pager
File
- src/
HeartbeatEntityQuery.php, line 246
Class
- HeartbeatEntityQuery
- Created by IntelliJ IDEA. User: logicp Date: 5/28/17 Time: 1:37 PM
Code
public function pager($limit = 10, $element = NULL) {
// TODO: Implement pager() method.
}