Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / aggregator_parse.twig
1 /**
2  * Implements hook_aggregator_parse().
3  */
4 function {{ machine_name }}_aggregator_parse($feed) {
5   if ($items = mymodule_parse($feed->source_string)) {
6     $feed->items = $items;
7     return TRUE;
8   }
9   return FALSE;
10 }