Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I understand that $this->record;
refers to the current record, and $this->record++;
advances to the next record, but is there a way to find the last record, or determine if the current record is the last record?
Comments
Comment #1
vegansupreme CreditAttribution: vegansupreme commentedGot it!
count( $view->result );
Found it here: http://drupal.org/node/131031#comment-1212990