Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to #2855775: Created help section
+++ b/chosen.module
@@ -16,6 +16,20 @@ define('CHOSEN_INCLUDE_NO_ADMIN', 1);
+ $output .= '<p>' . t('Configure at: <a target="_blank" href="@structure_types">admin/config/user-interface/chosen</a>', array('@structure_types' => base_path() . 'admin/config/user-interface/chosen')) . '</p>';
What is this? We have url() for this. Do not use base_path() here, please. We also do not use target.
Comment | File | Size | Author |
---|---|---|---|
#2 | fix-url-in-help-2864119-2.patch | 837 bytes | nagy.balint |
Comments
Comment #2
nagy.balint CreditAttribution: nagy.balint at Agence Inovae commentedComment #3
hass CreditAttribution: hass commentedComment #4
nagy.balint CreditAttribution: nagy.balint at Agence Inovae commentedComment #6
nagy.balint CreditAttribution: nagy.balint at Agence Inovae commentedComment #8
nagy.balint CreditAttribution: nagy.balint at Agence Inovae commentedSame in 8.x, fixed.
Comment #9
hass CreditAttribution: hass commentedThat is incorrect for D8. The placeholders for URLs named
:structure_types
in opposite to@structure_types
in D7.Comment #11
nagy.balint CreditAttribution: nagy.balint at Agence Inovae commented