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.
Seems there is a missing argument for hook_views_admin_links_alter() via drupal_alter() in theme.inc.
Very simple 1 line patch attached that fixes the issue by adding the $view to the drupal_alter() call.
Comment | File | Size | Author |
---|---|---|---|
#3 | views-drupal_alter-missing_argument.patch | 930 bytes | dawehner |
views-drupal_alter-missing_argument.patch | 643 bytes | psynaptic | |
Comments
Comment #1
psynaptic CreditAttribution: psynaptic commentedComment #2
dawehnerthis cannot work there is no $views there, just $view
Comment #3
dawehnerhere is a updated patch
i think there should be some docs about using it in the help folder
Comment #4
psynaptic CreditAttribution: psynaptic commentedYou are correct. Not sure how that got in there! Thanks for rerolling :)
Comment #5
psynaptic CreditAttribution: psynaptic commentedPlease can someone commit this? It's a single line change. Without it we don't have any context in the drupal_alter call.
The Block Edit module will soon depend on this patch.
Comment #6
merlinofchaos CreditAttribution: merlinofchaos commentedPatience. I've not had tons of free time lately. A week is actually pretty quick for me, nowadays.
Comment #7
psynaptic CreditAttribution: psynaptic commentedSorry for harassing and thanks for committing!