6b07505bde8d498b5434560950cb45a3c305f80c
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / system_info_alter.twig
1 /**
2  * Implements hook_system_info_alter().
3  */
4 function {{ machine_name }}_system_info_alter(&$info, $file, $type) {
5   // Only fill this in if the .info file does not define a 'datestamp'.
6   if (empty($info['datestamp'])) {
7     $info['datestamp'] = filemtime($file->filename);
8   }
9 }