Commit 1a33801d authored by catch's avatar catch

Issue #376391 by mimran, snehi: Document that module_invoke_all /...

Issue #376391 by mimran, snehi: Document that module_invoke_all / ModuleHandlerInterface::invokeAll reindexes arrays
parent e39328a6
......@@ -237,7 +237,9 @@ public function invoke($module, $hook, array $args = array());
*
* @return array
* An array of return values of the hook implementations. If modules return
* arrays from their implementations, those are merged into one array.
* arrays from their implementations, those are merged into one array
* recursively. Note: integer keys in arrays will be lost, as the merge is
* done using array_merge_recursive().
*/
public function invokeAll($hook, array $args = array());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment