Debug messages (add to these in $GLOBALS['context']['debug_messages'][])
Twig variable dump
array(9) {
["git_hash"]=>
string(0) ""
["context"]=>
array(5) {
["environment_type"]=>
string(7) "staging"
["alerts"]=>
NULL
["title"]=>
string(6) "Log in"
["script_name"]=>
string(5) "login"
["footer"]=>
array(3) {
["site_title"]=>
string(21) "Southampton CRM (dev)"
["site_code"]=>
string(9) "soton_crm"
["server_name"]=>
string(33) "staging.sotoncrm.sideoffice.co.uk"
}
}
["query_string"]=>
array(2) {
["u"]=>
NULL
["r"]=>
string(0) ""
}
["topmenu"]=>
NULL
["server"]=>
array(1) {
["request_uri"]=>
string(6) "/login"
}
["environment_type"]=>
string(7) "staging"
["breadcrumbs"]=>
array(2) {
["Welcome"]=>
string(1) "/"
["Log in"]=>
string(6) "/login"
}
["settings"]=>
array(1) {
["WINDOW_TITLE"]=>
string(21) "Southampton CRM (dev)"
}
["form"]=>
object(LoginForm)#19 (6) {
["username"]=>
object(Forms\TextField)#18 (9) {
["type"]=>
string(4) "text"
["form"]=>
NULL
["metadata"]=>
NULL
["name"]=>
string(8) "username"
["label"]=>
string(8) "Username"
["class"]=>
NULL
["help_text"]=>
NULL
["value"]=>
NULL
["attributes"]=>
array(2) {
["data-validate-required"]=>
bool(true)
["autofocus"]=>
bool(true)
}
}
["password"]=>
object(Forms\PasswordField)#16 (9) {
["type"]=>
string(8) "password"
["form"]=>
NULL
["metadata"]=>
NULL
["name"]=>
string(8) "password"
["label"]=>
string(8) "Password"
["class"]=>
NULL
["help_text"]=>
NULL
["value"]=>
NULL
["attributes"]=>
array(1) {
["data-validate-required"]=>
bool(true)
}
}
["_db_connection":"Forms\Form":private]=>
NULL
["_data":"Forms\Form":private]=>
NULL
["_files":"Forms\Form":private]=>
NULL
["_index":"Forms\FormFieldContainer":private]=>
int(0)
}
}