public function BillingAddressPane::settingsForm in Ubercart 8.4
Returns the settings form for a checkout pane.
Return value
array A form array.
Overrides CheckoutPanePluginBase::settingsForm
File
- uc_cart/
src/ Plugin/ Ubercart/ CheckoutPane/ BillingAddressPane.php, line 42
Class
- BillingAddressPane
- Gets the user's billing address.
Namespace
Drupal\uc_cart\Plugin\Ubercart\CheckoutPaneCode
public function settingsForm() {
$form['default_same_address'] = [
'#type' => 'checkbox',
'#title' => $this
->t('Use the same address for billing and delivery by default.'),
'#default_value' => $this->configuration['default_same_address'],
];
return $form;
}