It is often useful to know how Grav processes in order to fully understand how best to extend Grav via plugins. This is the Grav lifecycle:
load()
grav
debugger
log
handlererror
handleruri
task
events
cache
session
plugins
themes
twig
taxonomy
language
pages
assets
page
output
browser
base_url_absolute
base_url_relative
base_url
stream
handlerconfig
handlerGrav::process()
plugins
assets
twig
pages
buildPages()
recurse()
recurse()
.md
file is found:
folder
found recurse()
the childrenbuildRoutes()
taxonomy
for all pagesroute
table for fast lookupprocessSite()
method
render()
methodWhenever a page has its content()
method called, the following lifecycle occurs:
Found errors? Think you can improve this documentation? Simply click the Edit link at the top of the page, and then the icon on Github to make your changes.
Powered by Grav + with by Trilby Media.