public function ParagraphsItem::fields

File

paragraphs/src/Plugin/migrate/source/d7/ParagraphsItem.php, line 121

Class

ParagraphsItem
Paragraphs Item source plugin.

Namespace

Drupal\paragraphs\Plugin\migrate\source\d7

Code

public function fields() {
  $fields = [
    'item_id' => $this
      ->t('The paragraph_item id'),
    'revision_id' => $this
      ->t('The paragraph_item revision id'),
    'bundle' => $this
      ->t('The paragraph bundle'),
    'field_name' => $this
      ->t('The paragraph field_name'),
  ];
  return $fields;
}