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 sometimes $sub_build['title'] is set, but not $sub_build['title']['source'] and it is generating warning message.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2020961-source-warning-3.patch | 1.35 KB | vijaycs85 |
Comments
Comment #1
vijaycs85Seems somewhere schema missing title... however fixing the condition like below would fix the warning.
But not sure it is the good thing to do... will check with @gabor.
Comment #2
Gábor HojtsyLooks like a reasonable fix. We'll never be able to ensure all schemas have titles everywhere. Needed in patch form :)
Comment #3
vijaycs85Here is the patch...
Comment #4
Gábor HojtsySuperb, committed.