mirror of
https://github.com/getgrav/grav.git
synced 2026-03-05 03:51:50 +01:00
* Ancestor and inherited functions for Page & Pages Addes both helper methods to `Grav\Common\Page` and Grav instance utility functions to `Grav\Common\Pages`. * Ancestor Page return considering field criteria * Updates according to code review issue Made changes to act on current Page object only for the Page functions Changed variable name to better reflect the intention of the passed param for the Pages class functions * Simplify duplicate code * Simplify Pages logic Simpilfied duplicate code. Also clarified variable naming for similar functions.