public function TransactorBase::getTransactionDetails in Transaction 8
Compose human readable details for the given transaction.
Parameters
\Drupal\transaction\TransactionInterface $transaction: The transaction to detail.
string $langcode: (optional) For which language the transaction details should be composed, defaults to the current content language.
Return value
array An array of strings and/or translatable markup objects representing each one a line detailing the transaction. Empty array if no details generated.
Overrides TransactorPluginInterface::getTransactionDetails
1 call to TransactorBase::getTransactionDetails()
- GenericTransactor::getTransactionDetails in src/
Plugin/ Transaction/ GenericTransactor.php - Compose human readable details for the given transaction.
1 method overrides TransactorBase::getTransactionDetails()
- GenericTransactor::getTransactionDetails in src/
Plugin/ Transaction/ GenericTransactor.php - Compose human readable details for the given transaction.
File
- src/
TransactorBase.php, line 778
Class
- TransactorBase
- Provides a base class for transactor plugins.
Namespace
Drupal\transactionCode
public function getTransactionDetails(TransactionInterface $transaction, $langcode = NULL) {
return [];
}