diff --git a/core/modules/contact/src/ContactFormListBuilder.php b/core/modules/contact/src/ContactFormListBuilder.php index 3f839f8..ec15846 100644 --- a/core/modules/contact/src/ContactFormListBuilder.php +++ b/core/modules/contact/src/ContactFormListBuilder.php @@ -41,7 +41,7 @@ public function buildRow(EntityInterface $entity) { $row['selected'] = t('No'); } else { - $row['category'] = $this->l($this->getLabel($entity),'contact.site_page_category', array('contact_category' => $entity->id())); + $row['category'] = $this->l($this->getLabel($entity),'contact.site_page_form', array('contact_category' => $entity->id())); $row['recipients'] = String::checkPlain(implode(', ', $entity->getRecipients())); $default_form = \Drupal::config('contact.settings')->get('default_form'); $row['selected'] = ($default_form == $entity->id() ? t('Yes') : t('No')); diff --git a/core/modules/contact/src/Plugin/Block/ContactNavigationBlock.php b/core/modules/contact/src/Plugin/Block/ContactNavigationBlock.php index 7bc4c2c..28c981b 100644 --- a/core/modules/contact/src/Plugin/Block/ContactNavigationBlock.php +++ b/core/modules/contact/src/Plugin/Block/ContactNavigationBlock.php @@ -231,7 +231,7 @@ public function build() { $links[$id] = array( '#type' => 'link', '#title' => $category->label(), - '#route_name' => 'contact.site_page_category', + '#route_name' => 'contact.site_page_form', '#route_parameters' => array('contact_category' => $id), ); }