add drupal-7 hooks to php.snippets