Skip to content
Snippets Groups Projects
Commit 11fafe6d authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #1853050 by Jerenus: Fix up docs for drupal_send_headers()

parent e02f8478
No related branches found
No related tags found
No related merge requests found
......@@ -1186,10 +1186,11 @@ function _drupal_set_preferred_header_name($name = NULL) {
* Headers are set in drupal_add_http_header(). Default headers are not set
* if they have been replaced or unset using drupal_add_http_header().
*
* @param $default_headers
* An array of headers as name/value pairs.
* @param $single
* If TRUE and headers have already be sent, send only the specified header.
* @param array $default_headers
* (optional) An array of headers as name/value pairs.
* @param bool $only_default
* (optional) If TRUE and headers have already been sent, send only the
* specified headers.
*/
function drupal_send_headers($default_headers = array(), $only_default = FALSE) {
$headers_sent = &drupal_static(__FUNCTION__, FALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment