You are here

public function TaxRateListBuilder::submitAddMethod in Ubercart 8.4

Form submission handler for adding a new method.

File

uc_tax/src/TaxRateListBuilder.php, line 182

Class

TaxRateListBuilder
Provides a listing of tax rate entities.

Namespace

Drupal\uc_tax

Code

public function submitAddMethod(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRedirect('entity.uc_tax_rate.add_form', [
    'plugin_id' => $form_state
      ->getValue('plugin'),
  ]);
}