PHP code example of augustash / ash_salesforce

1. Go to this page and download the library: Download augustash/ash_salesforce library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

augustash / ash_salesforce example snippets


if (($_ENV['PANTHEON_ENVIRONMENT'] ?? '') === 'live') {
  $config['ash_salesforce.mapping.contact']['salesforce_form'] = 'prod';
}

$config['ash_salesforce.mapping.contact']['status'] = FALSE;