public function EntityNotFoundException::getFormattableMessage in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 src/EntityNotFoundException.php \Drupal\salesforce\EntityNotFoundException::getFormattableMessage()
- 5.0.x src/EntityNotFoundException.php \Drupal\salesforce\EntityNotFoundException::getFormattableMessage()
Get a formattable message.
Return value
\Drupal\Component\Render\FormattableMarkup The message.
File
- src/
EntityNotFoundException.php, line 77
Class
- EntityNotFoundException
- EntityNotFoundException extends Drupal\salesforce\Exception.
Namespace
Drupal\salesforceCode
public function getFormattableMessage() {
return new FormattableMarkup('Entity not found. type: %type properties: %props', [
'%type' => $this->entityTypeId,
'%props' => var_export($this->entityProperties, TRUE),
]);
}