Pull merge.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / init.twig
1 /**
2  * Implements hook_init().
3  */
4 function {{ machine_name }}_init() {
5   // Since this file should only be loaded on the front page, it cannot be
6   // declared in the info file.
7   if (drupal_is_front_page()) {
8     drupal_add_css(drupal_get_path('module', 'foo') . '/foo.css');
9   }
10 }