Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291320

Refactor drupal_process_attached() so it doesn't depend on drupal_add_http_header()

$
0
0

Problem/Motivation

drupal_add_http_header() is marked as @deprecated for removal before 8.0.0 release.

drupal_process_attached() uses drupal_add_http_header() in order to process attached headers.

drupal_process_attached() will need to figure out a way to have the Response object injected so that it can properly set headers on the Response object.

Proposed resolution

Remaining tasks

User interface changes

API changes

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryTask because the code works as-is, just isn't properly encapsulated.
Issue priorityNormal because nothing is broken.
Prioritized changesPrioritized because this issue will unblock the removal of @deprecated code.

Viewing all articles
Browse latest Browse all 291320

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>