How to Set the Page Title for the Admin
By default the page title for every admin page is generated from the route name. If you would like to manually set the page title you can set a title specifically for your route or you can return an adminPageTitlevariable to your view (this includes extending a response builder and adding this to the data).
To set the title manually for a specific route you can use the Aero\Admin\Http\Middleware\SetTitle::addTitle()method. This method expects a route name and a page title.
<?php
namespace Acme\MyModule;
use Aero\Admin\Http\Middleware\SetTitle;
use Aero\Common\Providers\ModuleServiceProvider;
class ServiceProvider extends ModuleServiceProvider
{
public function setup()
{
SetTitle::addTitle('admin.dashboard', 'The Dashboard Title');
}
}