Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 416 Bytes

info-box.md

File metadata and controls

14 lines (8 loc) · 416 Bytes

Infobox

The Encore\Admin\Widgets\InfoBox class is used to generate the information presentation block:

use Encore\Admin\Widgets\InfoBox;

$infoBox = new InfoBox('New Users', 'users', 'aqua', '/admin/users', '1024');

echo $infoBox->render();

Refer to the section on the InfoBox in the index()method of the home page layout file HomeController.php.