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();
$content .= theme('pager');

1 Answer 1


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

  • so it's not possible to integrate with the pager? it would make it easier to get the current page/number of pages
    – RASMiranda
    Commented Jul 1, 2015 at 15:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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