- Issue created by @vlooi vlerke
Currently the label "Check" shows on the donation form as a payment method.
Can the the check payment method label be set manually on each give bundle?
Then users can set the label to "Pledge Cash" or "Pledge Food"
// Override the default "Check" payment method label .
'check_label' => [
'#type' => 'textfield',
'#title' => $this->t('Check payment method label'),
'#description' => $this->t("Override the Check payment method default <em>Check</em> text. e,g set the label to "Pledge Cash" or "Pledge Food""),
'#default_value' => $give_form->getCheckLabel(),
],
I am not sure how to do the string override of the check payment method text set in the give.module
=> t('Check',
in below code
function payment_method_names() {
static $all_methods;
if (!$all_methods) {
$all_methods = [
PaymentMethod::GIVE_VIA_CHECK => t('Check', [], ['context' => 'donation payment method']),
Thanks
Active
2.0
User interface