diff --git a/core/modules/contact/src/ContactFormListBuilder.php b/core/modules/contact/src/ContactFormListBuilder.php index ec15846..1c16d51 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_form', array('contact_category' => $entity->id())); + $row['category'] = $this->l($this->getLabel($entity),'contact.site_page_form', array('contact_form' => $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 28c981b..7e921e5 100644 --- a/core/modules/contact/src/Plugin/Block/ContactNavigationBlock.php +++ b/core/modules/contact/src/Plugin/Block/ContactNavigationBlock.php @@ -232,7 +232,7 @@ public function build() { '#type' => 'link', '#title' => $category->label(), '#route_name' => 'contact.site_page_form', - '#route_parameters' => array('contact_category' => $id), + '#route_parameters' => array('contact_form' => $id), ); } return array(