protected function SalesforceController::successMessage in Salesforce Suite 8.3
Display a success message on successful oauth.
1 call to SalesforceController::successMessage()
- SalesforceController::oauthCallback in src/
Controller/ SalesforceController.php - OAuth step 2: Callback for the oauth redirect URI.
File
- src/
Controller/ SalesforceController.php, line 56
Class
- SalesforceController
- OAuth callback handler.
Namespace
Drupal\salesforce\ControllerCode
protected function successMessage() {
drupal_set_message(t('Successfully connected to %endpoint', [
'%endpoint' => $this->client
->getInstanceUrl(),
]));
}