whole_func_string: function pluginsForSite( state = [], action ) {
  	switch ( action.type ) {
  		case PLUGIN_ACTIVATE_REQUEST_SUCCESS:
  		case PLUGIN_DEACTIVATE_REQUEST_SUCCESS:
  		case PLUGIN_UPDATE_REQUEST_SUCCESS:
  		case PLUGIN_AUTOUPDATE_ENABLE_REQUEST_SUCCESS:
  		case PLUGIN_AUTOUPDATE_DISABLE_REQUEST_SUCCESS:
  			return state.map( p => plugin( p, action ) );
  		case PLUGIN_INSTALL_REQUEST_SUCCESS:
  			return [ ...state, action.data ];
  		case PLUGIN_REMOVE_REQUEST_SUCCESS:
  			const index = findIndex( state, { id: action.pluginId } );
  			return [ ...state.slice( 0, index ), ...state.slice( index + 1 ) ];
  		default:
  			return state;
  	}
  }
func_code_string: function pluginsForSite( state = [], action ) {
  	switch ( action.type ) {
  		case PLUGIN_ACTIVATE_REQUEST_SUCCESS:
  		case PLUGIN_DEACTIVATE_REQUEST_SUCCESS:
  		case PLUGIN_UPDATE_REQUEST_SUCCESS:
  		case PLUGIN_AUTOUPDATE_ENABLE_REQUEST_SUCCESS:
  		case PLUGIN_AUTOUPDATE_DISABLE_REQUEST_SUCCESS:
  			return state.map( p => plugin( p, action ) );
  		case PLUGIN_INSTALL_REQUEST_SUCCESS:
  			return [ ...state, action.data ];
  		case PLUGIN_REMOVE_REQUEST_SUCCESS:
  			const index = findIndex( state, { id: action.pluginId } );
  			return [ ...state.slice( 0, index ), ...state.slice( index + 1 ) ];
  		default:
  			return state;
  	}
  }
func_documentation_string: /*
  Tracks the list of premium plugin objects for a single site