Mecha CMS

Panel’s API.

Main

Author: Taufik Nurrohman · 21 Views

Tweet

Main API.

Table of Content

Add 

Config::set('panel.m.t.my_tab', [
    'title' => 'My Tab',
    'legend' => 'Content of My Tab',
    'list' => [
        // @see `reference/panel/field`
        'title' => [
            'type' => 'text',
            'is' => [
                'expand' => true
            ],
            'stack' => 10
        ]
    ],
    'stack' => 20
]);

Remove 

Remove the page tab:

Config::reset('panel.m.t.page');

or…

Config::set('panel.m.t.page', false);

Update 

Change the page tab order from 10 to 30:

Config::set('panel.m.t.page.stack', 30);

0 Comments

No comments yet.