You are here

function feeds_module_implements_alter in Feeds 7.2

Implements hook_module_implements_alter().

Related topics

File

./feeds.module, line 930
Feeds - basic API functions and hook implementations.

Code

function feeds_module_implements_alter(array &$implementations, $hook) {
  if ($hook === 'feeds_processor_targets_alter') {

    // We need two implementations of this hook, so we add one that gets
    // called first, and move the normal one to last.
    $implementations = array(
      '_feeds' => FALSE,
    ) + $implementations;

    // Move normal implementation to last.
    $group = $implementations['feeds'];
    unset($implementations['feeds']);
    $implementations['feeds'] = $group;
  }
}