public static function MigrateDestinationParagraphsItem::options in Paragraphs 7
Return an options array for node destinations.
Parameters
string $language: Default language for nodes created via this destination class.
string $text_format: Default text format for nodes created via this destination class.
Return value
array An array of options.
File
- migrate/
destinations/ MigrateDestinationParagraphsItem.inc, line 61
Class
- MigrateDestinationParagraphsItem
- Provides basic class for importing Paragraphs via Migrate API.
Code
public static function options($language, $text_format) {
return compact('language', 'text_format');
}