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.
See: https://www.drupal.org/node/2308913
Accoring to the hook_menu documentation:
"load arguments": An array of arguments to be passed to each of the wildcard object loaders in the path, after the path argument itself.
Now feature_load function receives 3 arguments instead 2: 'feature_name', 'feature_name', TRUE; It does not affect any major functionality or performance, because second argument is always non-empty string and converts to the boolean TRUE, but I think that should be fixed anyway.
Here is the patch.
Comment | File | Size | Author |
---|---|---|---|
features_override-load_arguments_fix-D7.patch | 592 bytes | artem_sylchuk |
Comments
Comment #1
artem_sylchukComment #2
mpotter CreditAttribution: mpotter commentedSorry I took so long to see this. It's really a no-brainer. Also interesting that Features has the same issue! Will fix it over there also. Thanks!
Comment #4
Chris Matthews CreditAttribution: Chris Matthews commentedThis patch has not been committed to 7.x-2.x-dev, but I cannot reopen as I am not a maintainer. See the commit log.