You are here

public static function MigrateDestinationTerm::options in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/destinations/term.inc \MigrateDestinationTerm::options()

Return an options array for term destinations.

Parameters

string $language: Default language for terms created via this destination class.

string $text_format: Default text format for terms created via this destination class.

string $allow_duplicate_terms: Default text format for terms created via this destination class.

File

plugins/destinations/term.inc, line 44
Support for taxonomy term destinations.

Class

MigrateDestinationTerm
Destination class implementing migration into terms.

Code

public static function options($language, $text_format, $allow_duplicate_terms = FALSE) {
  return compact('language', 'text_format', 'allow_duplicate_terms');
}