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.
Problem/Motivation
In #2381973-56: View wizard creates 'invalid' views out of the box, missing plugin_ids, insecure permissions @alexpott found that pathField and pathFieldsSupplemental are not used anywhere (outside of their getters) in views wizards. This looks like genuine dead code. Possibly a start of something that was not implemented fully.
Proposed resolution
Remove unless they are useful for something.
Remaining tasks
Review. Commit.
User interface changes
None.
API changes
Unused public methods removed.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2383667-remove-path-field.patch | 6.56 KB | Gábor Hojtsy |
Comments
Comment #1
Gábor HojtsyComment #2
dawehnerGood catch!
All that code just exists for the jump_menu functionality which was provided by ctools.
Due to the removal of the ctools dependency, we can drop all that
$pathField
stuff at the same time.Comment #3
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 34c1da0 and pushed to 8.0.x. Thanks!