types() public static method

Default QuickAdmin field types
public static types ( ) : array
return array
 /**
  * Show new crud creation page
  * @return \Illuminate\View\View
  */
 public function create()
 {
     $fieldTypes = FieldsDescriber::types();
     $fieldValidation = FieldsDescriber::validation();
     $defaultValuesCbox = FieldsDescriber::default_cbox();
     $crudsSelect = Crud::lists('title', 'id');
     // Get columns for relationship
     $models = [];
     foreach (Crud::all() as $crud) {
         // We are having a default User model
         if ($crud->title == 'User' && $crud->is_crud == 0) {
             $tableName = 'users';
         } else {
             $tableName = strtolower($crud->name);
         }
         $models[$crud->id] = Schema::getColumnListing($tableName);
     }
     return view("qa::cruds.create", compact('fieldTypes', 'fieldValidation', 'defaultValuesCbox', 'crudsSelect', 'models'));
 }
 /**
  * Show new menu creation page
  * @return \Illuminate\View\View
  */
 public function createCrud()
 {
     $fieldTypes = FieldsDescriber::types();
     $fieldValidation = FieldsDescriber::validation();
     $defaultValuesCbox = FieldsDescriber::default_cbox();
     $menusSelect = Menu::lists('title', 'id');
     $parentsSelect = Menu::where('menu_type', 2)->lists('title', 'id')->prepend('-- no parent --', 'null');
     // Get columns for relationship
     $models = [];
     foreach (Menu::all() as $menu) {
         // We are having a default User model
         if ($menu->title == 'User' && $menu->is_menu == 0) {
             $tableName = 'users';
         } else {
             $tableName = strtolower($menu->name);
         }
         $models[$menu->id] = Schema::getColumnListing($tableName);
     }
     return view("qa::menus.createCrud", compact('fieldTypes', 'fieldValidation', 'defaultValuesCbox', 'menusSelect', 'models', 'parentsSelect'));
 }