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.
Updated: Comment #0
Problem/Motivation
In #2073813: Add a UrlGenerator helper to FormBase and ControllerBase a patch was uploaded that broke inline adding of shortcut links. That patch passed tests.
Proposed resolution
Add tests for adding a shortcut link inline.
Remaining tasks
Related Issues
#2073813: Add a UrlGenerator helper to FormBase and ControllerBase
Comment | File | Size | Author |
---|---|---|---|
#2 | 2075557-2-shortcut-test-coverage.patch | 1.32 KB | tstoeckler |
Comments
Comment #1
tstoecklerI would need some help here. The following HTML is output:
But I can't seem to be able to target that with
$this->clickLink()
. :-/Comment #2
tstoecklerThis is what I started with, maybe someone else can drive this home.
As stated above, the clickLink() in the patch yields notices and does not actually work.
Comment #3
Wim LeersSuch test coverage has been added in the mean time: