You are here

public function TransactorHandlerInterface::composeDescription in Transaction 8

Compose a human readable description for the given transaction.

Parameters

\Drupal\transaction\TransactionInterface $transaction: The transaction to describe.

string $langcode: (optional) For which language the transaction description should be composed, defaults to the current content language.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Translatable markup with the composed description.

1 method overrides TransactorHandlerInterface::composeDescription()
TransactorHandler::composeDescription in src/TransactorHandler.php
Compose a human readable description for the given transaction.

File

src/TransactorHandlerInterface.php, line 63

Class

TransactorHandlerInterface
Defines an interface for transactor handler.

Namespace

Drupal\transaction

Code

public function composeDescription(TransactionInterface $transaction, $langcode = NULL);