You are here

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\Transaction

Code

public function validateTransaction(TransactionInterface $transaction) {
  if (parent::validateTransaction($transaction)) {

    // @todo check required fields and values
    return TRUE;
  }
  return FALSE;
}