Pull merge.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / hook / aggregator_fetcher_info_alter.twig
1 /**
2  * Implements hook_aggregator_fetcher_info_alter().
3  */
4 function {{ machine_name }}_aggregator_fetcher_info_alter(array &$info) {
5   if (empty($info['foo_fetcher'])) {
6     return;
7   }
8
9   $info['foo_fetcher']['class'] = Drupal\foo\Plugin\aggregator\fetcher\FooDefaultFetcher::class;
10 }