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.
Issue with placeholder?
Comment | File | Size | Author |
---|---|---|---|
#3 | captcha_row_urls_shown-2474093-3.patch | 1.59 KB | undertext |
2015-04-19_152615.png | 6.5 KB | hass |
Comments
Comment #1
hass CreditAttribution: hass commentedThat looks not correct to me...
use
Url::fromRoute('captcha.admin_settings_form')
or
\Drupal::url('captcha.admin_settings_form')
Comment #2
undertext CreditAttribution: undertext commentedComment #3
undertext CreditAttribution: undertext commentedWe cannot use "Url::fromRoute('captcha.admin_settings_form')" in install_hook(). See https://www.drupal.org/node/2459177.
Also see https://www.drupal.org/node/2409477#comment-9547161.
Here is a very simple patch
Comment #4
m1r1k CreditAttribution: m1r1k at Propeople (now part of FFW) for Propeople (now part of FFW) commentedComment #5
wundo CreditAttribution: wundo at Chuva Inc. commented