drupal-routes

Why are characters inserted in my PHP link?

早过忘川 提交于 2019-12-25 03:34:37
问题 I created a module, but the link is not correct. My site now shows : /store/2?0=/cgv The correct link should be : /store/2/cgv Why doesn't it work ? where is the error ? What should I change in the code below, to get the link ? <?php namespace Drupal\commerce_agree_cgv\Plugin\Commerce\CheckoutPane; use Drupal\Component\Serialization\Json; use Drupal\Core\Form\FormStateInterface; use Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\CheckoutPaneBase; use Drupal\commerce_checkout\Plugin