diff --git a/core/modules/contact/contact.module b/core/modules/contact/contact.module index 46b131d..63e1c4d 100644 --- a/core/modules/contact/contact.module +++ b/core/modules/contact/contact.module @@ -35,14 +35,6 @@ function contact_help($route_name, RouteMatchInterface $route_match) { $output .= ''; return $output; - case 'entity.contact_form.collection': - $menu_page = \Drupal::moduleHandler()->moduleExists('menu_ui') ? \Drupal::url('entity.menu.collection') : '#'; - $block_page = \Drupal::moduleHandler()->moduleExists('block') ? \Drupal::url('block.admin_display') : '#'; - $output = ''; - $output .= '

' . t('The Personal contact form is the form for site visitors to contact registered users; the name and recipients of this form cannot be edited. Other forms listed here are your configured site-wide contact forms, which site visitors can use to send mail to a centralized email address or addresses. You can edit the name and recipients of site-wide forms by choosing the Edit operation. You can also configure the fields and display of both personal and site-wide forms.') . '

'; - $output .= '

' . t('If you have configured a default site-wide contact form, a Contact menu link in the Footer menu will link to it. You can modify this link from the Menus page if you have the Menu UI module installed. You can also create links to other contact forms; the URL has format contact/machine_name_of_form.', array(':menu-settings' => $menu_page)) . '

'; - $output .= '

' . t('If you would like additional text to appear on a site-wide contact page, beyond field labels, use a block. You can create and edit blocks on the Block layout page, if you have the Block module installed.', array(':blocks' => $block_page)) . '

'; - return $output; } }