Commit 1489271d authored by catch's avatar catch
Browse files

Issue #3110620 by salah1, xjm, kiamlaluno: Documentation for...

Issue #3110620 by salah1, xjm, kiamlaluno: Documentation for ModuleHandler::invokeAll() says the method uses a PHP function that is not used anymore

(cherry picked from commit 12610fd5)
parent 2b3ae7c7
......@@ -234,7 +234,7 @@ public function invoke($module, $hook, array $args = []);
* An array of return values of the hook implementations. If modules return
* 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().
* done using Drupal\Component\Utility\NestedArray::mergeDeepArray().
*/
public function invokeAll($hook, array $args = []);
......@@ -284,7 +284,7 @@ public function invokeDeprecated($description, $module, $hook, array $args = [])
* An array of return values of the hook implementations. If modules return
* 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().
* done using Drupal\Component\Utility\NestedArray::mergeDeepArray().
*
* @see \Drupal\Core\Extension\ModuleHandlerInterface::invokeAll()
* @see https://www.drupal.org/core/deprecation#how-hook
......
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