text: /**
   * Widget content-search main file
   *
   * See https://github.com/wejs/we-core/blob/master/lib/class/Widget.js for all Widget prototype functions
   */
  
  module.exports = function (projectPath, Widget) {
    var widget = new Widget('content-search', __dirname);
  
    // // Override default widget class functions after instance
    //
    // widget.beforeSave = function widgetBeforeSave(req, res, next) {
    //   // do something after save this widget in create or edit ...
    //   return next();
    // };
  
    // // form middleware, use for get data for widget form
    // widget.formMiddleware = function formMiddleware(req, res, next) {
    //
    //   next();
    // }
  
    // // Widget view middleware, use for get data after render the widget html
    // widget.viewMiddleware = function viewMiddleware(widget, req, res, next) {
    //  return next();
    // }
  
    return widget;
  };