code: public function adminIndex()
      {
          $config = [
              'title'       => trans('HCLanguages::languages.page_title'),
              'listURL'     => route('admin.api.languages'),
              'newFormUrl'  => route('admin.api.form-manager', ['languages-new']),
              'editFormUrl' => route('admin.api.form-manager', ['languages-edit']),
              'imagesUrl'   => route('resource.get', ['/']),
              'headers'     => $this->getAdminListHeader(),
          ];
  
          $config['actions'][] = 'search';
  
          return hcview('HCCoreUI::admin.content.list', ['config' => $config]);
      }
docs: Returning configured admin view
  
  @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View