Unverified Commit b796e377 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #2511892 by bserem, rachel_norfolk, hussainweb, ravi.shankar, mikeker,...

Issue #2511892 by bserem, rachel_norfolk, hussainweb, ravi.shankar, mikeker, catch, vensires, Lendude, alexpott: MissingMandatoryParametersException error on views with menu tab and % in the path
parent acb621d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -440,7 +440,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
        $form['path'] = [
          '#type' => 'textfield',
          '#title' => $this->t('Path'),
          '#description' => $this->t('This view will be displayed by visiting this path on your site. You may use "%" in your URL to represent values that will be used for contextual filters: For example, "node/%/feed". If needed you can even specify named route parameters like taxonomy/term/%taxonomy_term'),
          '#description' => $this->t('This view will be displayed by visiting this path on your site. You may use "%" or named route parameters like "%node" in your URL to represent values that will be used for contextual filters: For example, "node/%node/feed" or "view_path/%". Named route parameters are required when this path matches an existing path. For example, paths such as "taxonomy/term/%taxonomy_term" or "user/%user/custom-view".'),
          '#default_value' => $this->getOption('path'),
          '#field_prefix' => '<span dir="ltr">' . Url::fromRoute('<none>', [], ['absolute' => TRUE])->toString() . '</span>&lrm;',
          '#attributes' => ['dir' => LanguageInterface::DIRECTION_LTR],