In the same way we now have #attached_js and #attached_css we should have:

#attached_feed: to attach feed links to a render() structure.
#attached_link: to attach any
tag to a render() structure, to be added to the page head.

This would allow other modules implementing hook_page_alter to alter the
s added to a render() structure.

Related issue: #565496: Allow dynamic attaching of other types of stuff to render() structures

Comments

dropcube’s picture

Title: Allow <link> to be added as attached structures » Allow <link> tags to be added as attached structures
pwolanin’s picture

dropcube’s picture

Assigned: dropcube » Unassigned
Status: Active » Closed (duplicate)