You are here

function path_feeds_summary_callback in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 mappers/path.inc \path_feeds_summary_callback()

Mapping configuration summary for path.module.

1 string reference to 'path_feeds_summary_callback'
path_feeds_processor_targets in mappers/path.inc
Implements hook_feeds_processor_targets().

File

mappers/path.inc, line 70
On behalf implementation of Feeds mapping API for path.module.

Code

function path_feeds_summary_callback(array $mapping, $target, array $form, array $form_state) {
  if (!module_exists('pathauto')) {
    return;
  }
  if (empty($mapping['pathauto_override'])) {
    return t('Do not allow Pathauto if empty.');
  }
  else {
    return t('Allow Pathauto if empty.');
  }
}