public function FieldCollectionItem::fields in Paragraphs 8
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides MigrateSourceInterface::fields
File
- src/
Plugin/ migrate/ source/ d7/ FieldCollectionItem.php, line 85
Class
- FieldCollectionItem
- Field Collection Item source plugin.
Namespace
Drupal\paragraphs\Plugin\migrate\source\d7Code
public function fields() {
$fields = [
'item_id' => $this
->t('The field_collection_item id'),
'revision_id' => $this
->t('The field_collection_item revision id'),
'bundle' => $this
->t('The field_collection bundle'),
'field_name' => $this
->t('The field_collection field_name'),
'parent_type' => $this
->t('The type of the parent entity'),
'parent_id' => $this
->t('The identifier of the parent entity'),
];
return $fields;
}