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

8.0.x
catch 2012-08-17 12:03:39 +01:00
parent a898cb2d9b
commit c4262320fd
1 changed files with 2 additions and 1 deletions

View File

@ -273,7 +273,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