Skip to content
Snippets Groups Projects
Commit 39326b2c authored by catch's avatar catch
Browse files

Issue #1367000 by chris.leversuch, David_Rothstein: Clean up API docs for php module.

parent 86ce7f97
No related branches found
No related tags found
No related merge requests found
......@@ -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.
*
......
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