code: function(data) {
              if (data.active) {
                  bs.pluginManager.enablePlugin(data.name);
              } else {
                  bs.pluginManager.disablePlugin(data.name);
              }
              bs.setOption("userPlugins", bs.getUserPlugins());
          }
docs: Plugin configuration setting
  @param data