public function FieldCollectionType::fields

File

paragraphs/src/Plugin/migrate/source/d7/FieldCollectionType.php, line 72

Class

FieldCollectionType
Field Collection Type source plugin.

Namespace

Drupal\paragraphs\Plugin\migrate\source\d7

Code

public function fields() {
  return [
    'field_name' => $this
      ->t('Original field collection bundle/field_name'),
    'bundle' => $this
      ->t('Paragraph type machine name'),
    'name' => $this
      ->t('Paragraph type label'),
    'description' => $this
      ->t('Paragraph type description'),
  ];
}