Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3253715
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3253715
Commits
124016b9
Commit
124016b9
authored
12 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1716900
by chx: Clarify why hook_exit() must not print.
parent
fa22dcb5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/system/system.api.php
+2
-1
2 additions, 1 deletion
modules/system/system.api.php
with
2 additions
and
1 deletion
modules/system/system.api.php
+
2
−
1
View file @
124016b9
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment