You are here

aggregator_test.module in Drupal 9

Helper module for the Aggregator tests.

File

core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.module
View source
<?php

/**
 * @file
 * Helper module for the Aggregator tests.
 */

/**
 * Implements hook_aggregator_fetcher_info_alter().
 */
function aggregator_test_aggregator_fetcher_info_alter(array &$info) {
  $info['aggregator_test_fetcher']['definition_altered'] = TRUE;
}

/**
 * Implements hook_aggregator_parser_info_alter().
 */
function aggregator_test_aggregator_parser_info_alter(array &$info) {
  $info['aggregator_test_parser']['definition_altered'] = TRUE;
}

/**
 * Implements hook_aggregator_processor_info_alter().
 */
function aggregator_test_aggregator_processor_info_alter(array &$info) {
  $info['aggregator_test_processor']['definition_altered'] = TRUE;
}