You are here

public function EmailActionBase::invoiceOptions in Ubercart 8.4

Option callback for invoice options.

File

uc_order/src/Plugin/RulesAction/EmailActionBase.php, line 103

Class

EmailActionBase
Provides a base class for RulesActions that send email.

Namespace

Drupal\uc_order\Plugin\RulesAction

Code

public function invoiceOptions() {
  return [
    'print' => $this
      ->t('Show the business header and shipping method.'),
    'admin-mail' => $this
      ->t('Show all of the above plus the help text, email text, and store footer.'),
    'checkout-mail' => $this
      ->t('Show all of the above plus the "thank you" message.'),
  ];
}