You are here

public static function MigrateGeolocationFieldHandler::arguments in Geolocation Field 7

File

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

Class

MigrateGeolocationFieldHandler
Geolocation field migration handler class.

Code

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