You are here

public function PaymentMethodListBuilder::submitForm in Ubercart 8.4

Form submission handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides DraggableListBuilder::submitForm

File

payment/uc_payment/src/PaymentMethodListBuilder.php, line 154

Class

PaymentMethodListBuilder
Defines a class to build a listing of payment method configuration entities.

Namespace

Drupal\uc_payment

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  parent::submitForm($form, $form_state);
  $this
    ->messenger()
    ->addMessage($this
    ->t('The configuration options have been saved.'));
}