2 * Implements hook_aggregator_parser_info_alter().
4 function {{ machine_name }}_aggregator_parser_info_alter(array &$info) {
5 if (empty($info['foo_parser'])) {
9 $info['foo_parser']['class'] = Drupal\foo\Plugin\aggregator\parser\FooDefaultParser::class;