You are here

static function MigrateLinkFieldHandler::arguments in Link 6.2

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

File

./link.migrate.inc, line 12
Support for migrate module

Class

MigrateLinkFieldHandler
@file Support for migrate module

Code

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;
}