0

Is there any theme record count? Like: "Showing 1 to 10 of 186 records".

So that the user sees the number of pages and total number of records of a query (EntityFieldQuery).

Something made my drupal like theme pager, that we use like this:

//...
$query = new EntityFieldQuery();
//...
$query->pager(10);
//...
$content .= theme('pager');
//...
1

No, but you can easily make one yourself by implementing hook_theme().

|improve this answer|||||
  • so it's not possible to integrate with the pager? it would make it easier to get the current page/number of pages – RMiranda Jul 1 '15 at 15:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.