Altering the page array

Join Drupalize.Me to watch this video

Starting at just $35/month join Drupalize.Me and gain instant access to our entire video library.

Sign in Sign up

Altering the Page Array

Loading...

This video walks through how to use the new hook_page_alter() in Drupal 7 by transforming an unordered list into an ordered list. Because all of the content, region & blocks are stored within a renderable array before being output to the page, then this new hook allows modules and themes to make changes to page before it is fully rendered.

Companion files: 
Resources: 

Average review

0
No votes yet

Reviews