Lara-Crud

Package for quick deployment admin panel on Laravel

Set the page name from the top


$this->setTitle(string $str)

Example: $this->setTitle('Name Page');

namespace App\Http\Node;

use Trafik8787\LaraCrud\Contracts\NodeInterface;
use Trafik8787\LaraCrud\Models\NodeModelConfiguration;

class Article extends NodeModelConfiguration implements NodeInterface {


    public function showDisplay ()
    {
        $this->setTitle('Article');
        
        ....
    }
    
    public function showEditDisplay()
    {
        $this->setTitle('Article');
            
        ....
    }
    
    public function showInsertDisplay()
    {
        $this->setTitle('Article');
                
        ....
    }