i'm studying, trying hard to understand what is show in the kpr($page) output. So as an exercise, I'm trying to change #show_messages element. by default, i get this
....(Array, 10 elements) ◦ #show_messages (Boolean) TRUE
so in the theme_hook_alter() function i did this (before the kpr() output).
$page['show_messages'] = FALSE;
but when i refresh it's not changing the output. why is that.
also, i don't really understand the difference between elements with a # before them and the ones without.