I'm not sure if this is a bug or it is intended but it is not possible to set the page's title via hook_page_build() nor hook_page_alter() because the title it saved into a variable in the beginning of the drupal_prepare_page() function and it is set at the end of the function so implementing any of the aforementioned hooks to alter the page title won't change anything.

Comments

joelpittet’s picture

Version: 8.0-alpha11 » 8.0.x-dev
Status: Active » Postponed (maintainer needs more info)
Issue tags: +Needs issue summary update

Is this still a problem in the latest dev release and can you please provide more information on how you attempted to set the title?

joelpittet’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing due to no response.