Part of #2509534: [Meta] document or refactor calls to drupal_render()
Problem/Motivation
AggregatorFeedBlock::build() uses deprecated drupal_render() but should return alterable render array. This causes breakage of caching.
Proposed resolution
Return a render array instead of rendering parts of block.
Remaining tasks
patch/commit
User interface changes
no
API changes
no
Beta phase evaluation
| Issue category | Bug because uses rendering in block build() code |
|---|---|
| Issue priority | Normal because it's leftover code from 7.x |
| Disruption | Non-disruptive for core/contributed and custom modules/themes |
| Comment | File | Size | Author |
|---|---|---|---|
| aggregator-block.patch | 1.99 KB | andypost |
Comments
Comment #1
andypostComment #2
wim leersComment #5
dawehnerLooks perfect for me
Comment #6
alexpottLet's let the render system render! Nice :)
Committed eb70a1c and pushed to 8.0.x. Thanks!
Thanks for adding the beta eval.