Skip to content
Snippets Groups Projects
Commit 6745790b authored by Alex Barth's avatar Alex Barth
Browse files

Group drop down form elements.

parent abe5aad1
No related branches found
No related tags found
No related merge requests found
...@@ -182,12 +182,6 @@ class FeedsNodeProcessor extends FeedsProcessor { ...@@ -182,12 +182,6 @@ class FeedsNodeProcessor extends FeedsProcessor {
'#options' => $types, '#options' => $types,
'#default_value' => $this->config['content_type'], '#default_value' => $this->config['content_type'],
); );
$form['update_existing'] = array(
'#type' => 'checkbox',
'#title' => t('Update existing items'),
'#description' => t('Check if existing items should be updated from the feed.'),
'#default_value' => $this->config['update_existing'],
);
$period = drupal_map_assoc(array(FEEDS_EXPIRE_NEVER, 3600, 10800, 21600, 43200, 86400, 259200, 604800, 604800 * 4, 604800 * 12, 604800 * 24, 31536000), 'feeds_format_expire'); $period = drupal_map_assoc(array(FEEDS_EXPIRE_NEVER, 3600, 10800, 21600, 43200, 86400, 259200, 604800, 604800 * 4, 604800 * 12, 604800 * 24, 31536000), 'feeds_format_expire');
$form['expire'] = array( $form['expire'] = array(
'#type' => 'select', '#type' => 'select',
...@@ -196,6 +190,12 @@ class FeedsNodeProcessor extends FeedsProcessor { ...@@ -196,6 +190,12 @@ class FeedsNodeProcessor extends FeedsProcessor {
'#description' => t('Select after how much time nodes should be deleted. The node\'s published date will be used for determining the node\'s age, see Mapping settings.'), '#description' => t('Select after how much time nodes should be deleted. The node\'s published date will be used for determining the node\'s age, see Mapping settings.'),
'#default_value' => $this->config['expire'], '#default_value' => $this->config['expire'],
); );
$form['update_existing'] = array(
'#type' => 'checkbox',
'#title' => t('Update existing items'),
'#description' => t('Check if existing items should be updated from the feed.'),
'#default_value' => $this->config['update_existing'],
);
return $form; return $form;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment