You are here

function test_invoke_all in Coder 7.2

Same name and namespace in other branches
  1. 8.2 coder_sniffer/Drupal/Test/good/good.php \test_invoke_all()

Variable amount of parameters is allowed with the "..." notation.

Example:

test_invoke_all('node_view', $node, $view_mode);

Parameters

string $hook: The name of the hook to invoke.

...: Arguments to pass to the hook.

File

coder_sniffer/Test/good/good.php, line 492
This file contains all the valid notations for the drupal coding standard.

Code

function test_invoke_all($hook) {
}