Hi,

What is the best way to check if node is paginated having node object?

Comments

mundanity’s picture

Status: Active » Closed (fixed)

Hi there, you could do:

$pg = Pagination::instance();
$is_paginated = (boolean) $pg->getValue($node->type);