Posted by Gábor Hojtsy on
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.
Files:
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 6.56 KB | Gábor Hojtsy | |
| PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 81,955 pass(es). [ View ] | |||
Comments
Comment #1
Gábor Hojtsy commentedComment #2
dawehner commentedGood 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
$pathFieldstuff at the same time.Comment #3
alexpott commentedThis 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!