Example #1
0
 /**
  * Treat this method as a controller action.
  * Return view() or other content to display.
  */
 public function run()
 {
     return view("widgets.field_index", ['fields' => Field::filterByForm($this->config['form']->id)->get()]);
 }