'config_templates_list.yaml', 'layouts' => 'config_layouts_list.yaml']; public $formConfig = 'config_form.yaml'; public function __construct() { parent::__construct(); BackendMenu::setContext('October.System', 'system', 'settings'); } public function index() { /* @todo Remove line if year >= 2015 */ if (!\System\Models\EmailLayout::whereCode('default')->count()) { \Eloquent::unguard(); with(new \System\Database\Seeds\SeedSetupEmailLayouts)->run(); } EmailTemplate::syncAll(); $this->getClassExtension('Backend.Behaviors.ListController')->index(); $this->bodyClass = null; } public function formBeforeSave($model) { $model->is_custom = true; } }