t('Dashlet Name'), 'label' => t('Dashlet Title'), 'module' => t('Module Name'), 'pane' => t('Dashboard Pane Name'), 'url' => t('Dashlet Url'), 'description' => t('Dashlet Description'), 'priority' => t('Dashlet Order Priority') ]; } public function getSearchColumns() { return ['name']; } public function getDefaultSort() { return ['name', 'priority']; } public function createRelations(Relations $relations) { $relations->belongsToMany(Dashboard\Dashlet::TABLE, Dashlet::class) ->through(SystemDashlet::class) ->setForeignKey('module_dashlet_id') ->setJoinType('LEFT'); } }