code: function () {
          
              var cfg = {},
                  currCfg = this.config,
                  prop,
                  property;
                  
              for (prop in currCfg) {
                  if (Lang.hasOwnProperty(currCfg, prop)) {
                      property = currCfg[prop];
                      if (property && property.event) {
                          cfg[prop] = property.value;
                      }
                  }
              }
  
              return cfg;
          }
docs: Returns a key-value configuration map of the values currently set in
  the Config Object.
  @method getConfig
  @return {Object} The current config, represented in a key-value map