protected function prepareParametersForBinding($parameters, $entity, $action)
    {
        if (false == isset($parameters['campaign_settings'])) { // only do this for new / edit sources API calls
            // there is no defaultValues for token, so grab it from the __construct supplied instance of the entity
            if (!empty($entity->getToken())) {
                $parameters['token'] = $entity->getToken();
            }

            // documentation (boolean public page) can not be null because of SQL constraint. Add it here if it is.
            if (null == $parameters['documentation'] || '' == $parameters['documentation']) {
                $parameters['documentation'] = 0;
            }
        }

        return $parameters;
    }