
Configuring
Widgets can be added to the dashboard by modifying the widgets
array in the config/statamic/cp.php
file.
// config/statamic/cp.php 'widgets' => [ 'getting_started', [ 'type' => 'collection', 'collection' => 'blog', 'limit' => 10, ], ],
Options
collection
string
required
The collection's handle.
width
int
Width of dashboard area as a percentage.
limit
int
Limit number of entries. Default: 5.
sort
string
Sort and order by field name. E.g. 'title:desc'
. Defaults to the collection's settings.