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.
ViewsObjectTypes really doesn't help to understand the purpose of the function.
Comment | File | Size | Author |
---|---|---|---|
#4 | views-1778148-4.patch | 16.49 KB | dawehner |
#1 | views-1778148-1.patch | 15.98 KB | dawehner |
Comments
Comment #1
dawehnerHere is a version with a test.
Comment #3
tim.plunkettUnfortunately, the plurals aren't that easy, or we'd just add 's' everywhere directly :)
empty, footer, header are the 3 failing ones.
Comment #4
dawehnerThanks for the review! It's a bit odd that some of my tests lie around untouched for a long time.
Oh, this was too easy.
What about adding a todo, and make a special check in the test for now? Renaming footer/empty/area would require us to change all default views
so would block a lot of other patches.
Comment #5
tim.plunkettLooking good!
Comment #6
dawehnerThank you! Committed and pushed.