Add hook for drupal standard in php mode.