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