b0ed1ed96a2fcacc52605e47d11b668c6d3d25c7
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / hook / config_translation_info_alter.twig
1 /**
2  * Implements hook_config_translation_info_alter().
3  */
4 function {{ machine_name }}_config_translation_info_alter(&$info) {
5   // Add additional site settings to the site information screen, so it shows
6   // up on the translation screen. (Form alter in the elements whose values are
7   // stored in this config file using regular form altering on the original
8   // configuration form.)
9   $info['system.site_information_settings']['names'][] = 'example.site.setting';
10 }