You are here

public function SalesforceExceptionEvent::getContext in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Event/SalesforceExceptionEvent.php \Drupal\salesforce\Event\SalesforceExceptionEvent::getContext()
  2. 5.0.x src/Event/SalesforceExceptionEvent.php \Drupal\salesforce\Event\SalesforceExceptionEvent::getContext()

Getter for message context.

Return value

array The context aka args for this message, suitable for passing to ::log

Overrides SalesforceExceptionEventInterface::getContext

File

src/Event/SalesforceExceptionEvent.php, line 89

Class

SalesforceExceptionEvent
Base class for Salesforce Exception events, primarily for logging.

Namespace

Drupal\salesforce\Event

Code

public function getContext() {
  return $this->context;
}