public function TransactorHandlerInterface::composeResultMessage in Transaction 8
Compose a message that describes the execution result of a transaction.
Parameters
\Drupal\transaction\TransactionInterface $transaction: The executed transaction for which to compose the result message.
string $langcode: (optional) The language to use in message composition. Defaults to the current content language.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup Translatable markup with the execution result message, FALSE if transaction execution was never called.
1 method overrides TransactorHandlerInterface::composeResultMessage()
- TransactorHandler::composeResultMessage in src/
TransactorHandler.php - Compose a message that describes the execution result of a transaction.
File
- src/
TransactorHandlerInterface.php, line 49
Class
- TransactorHandlerInterface
- Defines an interface for transactor handler.
Namespace
Drupal\transactionCode
public function composeResultMessage(TransactionInterface $transaction, $langcode = NULL);