The default configuration file is as follows:
return [
'forms' => [
//
],
'home' => [
'label' => 'Dashboard',
'route' => 'dashboard',
],
'parts' => [
'laracasts_flash' => false,
'404lab_impersonate' => false,
],
];
You can register forms built using the GOV.UK Laravel Form by listing them in the array.
'forms' => [
MyForm::class,
MyOtherForm::class,
],
Breadcrumbs will always contain a link to the home page. This link can be customised by specifying a label and route.
GOV.UK Laravel comes by default with parts for the following libraries:
You can enable them by setting the corresponding config value to true
.