You are here

function path_feeds_form_callback in Feeds 7.2

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

Settings form callback.

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

File

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

Code

function path_feeds_form_callback(array $mapping, $target, array $form, array $form_state) {
  return array(
    'pathauto_override' => array(
      '#type' => 'checkbox',
      '#title' => t('Allow Pathauto to set the alias if the value is empty.'),
      '#default_value' => !empty($mapping['pathauto_override']),
    ),
  );
}