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
Comment #1
dropcube commentedComment #2
pwolanin commentedrelated - essentially duplicate work we are doing here: #552478: Restrict "self-closing" tags to only void elements in drupal_pre_render_html_tag
Comment #3
dropcube commented@pwolanin: Ok, let's move the efforts there.
#552478: Restrict "self-closing" tags to only void elements in drupal_pre_render_html_tag