Skip to content

Instantly share code, notes, and snippets.

@mrded
Last active September 18, 2019 08:50
Show Gist options
  • Save mrded/6823616 to your computer and use it in GitHub Desktop.
Save mrded/6823616 to your computer and use it in GitHub Desktop.
Drupal: alter usage example
<?php
drupal_alter('foo', $x, $y);
/**
* Implements hook_foo_alter().
*/
function hook_foo_alter(&$x, &$y) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment