Skip to content
Snippets Groups Projects
Commit 124016b9 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1716900 by chx: Clarify why hook_exit() must not print.

parent fa22dcb5
No related branches found
No related tags found
No related merge requests found
...@@ -689,7 +689,8 @@ function hook_element_info_alter(&$type) { ...@@ -689,7 +689,8 @@ function hook_element_info_alter(&$type) {
* Perform cleanup tasks. * Perform cleanup tasks.
* *
* This hook is run at the end of each page request. It is often used for * This hook is run at the end of each page request. It is often used for
* page logging and specialized cleanup. This hook MUST NOT print anything. * page logging and specialized cleanup. This hook MUST NOT print anything
* because by the time it runs the response is already sent to the browser.
* *
* Only use this hook if your code must run even for cached page views. * Only use this hook if your code must run even for cached page views.
* If you have code which must run once on all non-cached pages, use * If you have code which must run once on all non-cached pages, use
......
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