function _aggregator_get_variables

cis7 aggregator.module _aggregator_get_variables()
cle7 aggregator.module _aggregator_get_variables()
elmsmedia7 aggregator.module _aggregator_get_variables()
icor7 aggregator.module _aggregator_get_variables()
meedjum_blog7 aggregator.module _aggregator_get_variables()
mooc7 aggregator.module _aggregator_get_variables()

Gets the fetcher, parser, and processors.

Return value

An array containing the fetcher, parser, and processors.

3 calls to _aggregator_get_variables()
aggregator_refresh in modules/aggregator/aggregator.module
Checks a news feed for new items.
aggregator_remove in modules/aggregator/aggregator.module
Removes all items from a feed.
aggregator_sanitize_configuration in modules/aggregator/aggregator.module
Checks and sanitizes the aggregator configuration.

File

modules/aggregator/aggregator.module, line 589
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function _aggregator_get_variables() {
  // Fetch the feed.
  $fetcher = variable_get('aggregator_fetcher', 'aggregator');
  if ($fetcher == 'aggregator') {
    include_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'aggregator') . '/aggregator.fetcher.inc';
  }
  $parser = variable_get('aggregator_parser', 'aggregator');
  if ($parser == 'aggregator') {
    include_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'aggregator') . '/aggregator.parser.inc';
  }
  $processors = variable_get('aggregator_processors', array('aggregator'));
  if (in_array('aggregator', $processors)) {
    include_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'aggregator') . '/aggregator.processor.inc';
  }
  return array($fetcher, $parser, $processors);
}