You are here

function rules_condition_url_has_alias_upgrade in Rules 7.2

File

includes/rules.upgrade.inc, line 520
Contains code for upgrading rule configurations from 6.x-1.x to 7.x-2.x.

Code

function rules_condition_url_has_alias_upgrade($element, $target) {
  $target->settings['source'] = $element['#settings']['src'];
  $target->settings['alias'] = $element['#settings']['dst'];
}