summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2012-01-13 14:15:51 (GMT)
committercatch2012-01-13 14:15:51 (GMT)
commit39326b2c7d629eabd652659dbc862d8296b728d0 (patch)
treed94eb57d3564948eaa01f0a0767a46e0004dcec4
parent86ce7f97d54415ae8bfa55f273ea4be7697d6448 (diff)
Issue #1367000 by chris.leversuch, David_Rothstein: Clean up API docs for php module.
-rw-r--r--core/modules/php/php.module5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/php/php.module b/core/modules/php/php.module
index 4c68abe..a30c607 100644
--- a/core/modules/php/php.module
+++ b/core/modules/php/php.module
@@ -36,7 +36,7 @@ function php_permission() {
}
/**
- * Implements hook_filter_FILTER_process().
+ * Evaluates a string of PHP code.
*
* This is a wrapper around PHP's eval(). It uses output buffering to capture
* both returned and printed text. Unlike eval(), we require code to be
@@ -46,6 +46,9 @@ function php_permission() {
* Using this wrapper also ensures that the PHP code which is evaluated can not
* overwrite any variables in the calling code, unlike a regular eval() call.
*
+ * This function is also used as an implementation of
+ * hook_filter_FILTER_process().
+ *
* @param $code
* The code to evaluate.
*