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 commentedComment #3
hass commentedComment #4
nagy.balint commentedComment #6
nagy.balint commentedComment #8
nagy.balint commentedSame in 8.x, fixed.
Comment #9
hass commentedThat is incorrect for D8. The placeholders for URLs named
:structure_typesin opposite to@structure_typesin D7.Comment #11
nagy.balint commented