Closed andy-blum closed 1 year ago
When adding a new hook, the parameter variables do not have the $ and cause PHP errors.
$
<?php /** * Implements hook_preprocess_HOOK(). */ function my_module_preprocess_HOOK(&variables) { // should be &$variables }
When adding a new hook, the parameter variables do not have the
$
and cause PHP errors.