You are here

public static function MigrateLinkFieldHandler::arguments in Link 7

Same name and namespace in other branches
  1. 6.2 link.migrate.inc \MigrateLinkFieldHandler::arguments()

Arguments.

File

./link.migrate.inc, line 53

Class

MigrateLinkFieldHandler

Code

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