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 #N
Problem/Motivation
If you try to create a menu link to a path whose menu router item contains %ctools_js, it will fail validation.
This is because it does not know what to substitute in when there are no arguments.
Proposed resolution
Similar to the ctools_js_load() function that parses the arguments, we need a ctools_js_to_arg(), that runs when there are no valid arguments.
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Comment | File | Size | Author |
---|---|---|---|
#1 | ctools-2207881-1.patch | 488 bytes | tim.plunkett |
Comments
Comment #1
tim.plunkettComment #2
dawehnerLooks pretty cool.
Comment #3
japerryNice, Fixed.