static function MigrateTextFieldHandler::arguments in Migrate 6.2
Same name and namespace in other branches
- 7.2 plugins/destinations/fields.inc \MigrateTextFieldHandler::arguments()
Build an arguments array for text fields.
Parameters
string $summary: N/A in Drupal 6.
string $format: Text format to apply.
string $language: N/A in Drupal 6.
Return value
array
File
- plugins/
destinations/ fields.inc, line 176 - Support for processing CCK fields
Class
Code
static function arguments($summary = NULL, $format = NULL, $language = NULL) {
$arguments = array();
if (!is_null($summary)) {
$arguments['summary'] = $summary;
}
if (!is_null($format)) {
$arguments['format'] = $format;
}
if (!is_null($language)) {
$arguments['language'] = $language;
}
return $arguments;
}