You are here

public static function RangeMigrateFieldHandler::arguments in Range 7

File

migrate/destinations/range.inc, line 35
Contains range field migration handler.

Class

RangeMigrateFieldHandler
Range field migration handler class.

Code

public static function arguments($from = NULL, $to = NULL, $language = NULL) {
  $arguments = array();
  if (!is_null($from)) {
    $arguments['from'] = $from;
  }
  if (!is_null($to)) {
    $arguments['to'] = $to;
  }
  if (!is_null($language)) {
    $arguments['language'] = $language;
  }
  return $arguments;
}