public function UserPointsTransactor::validateTransaction in User Points 8
File
- src/
Plugin/ Transaction/ UserPointsTransactor.php, line 71
Class
- UserPointsTransactor
- Transactor for user points type transactions.
Namespace
Drupal\userpoints\Plugin\TransactionCode
public function validateTransaction(TransactionInterface $transaction) {
if (parent::validateTransaction($transaction)) {
// @todo check required fields and values
return TRUE;
}
return FALSE;
}